Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Emails] Add missing email template seeds for New Self-Organised Workshop and Ask For Website #2656

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions amy/scripts/seed_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,40 @@
"(({{ event.slug }})!"
),
),
EmailTemplateDef(
active=True,
id=UUID("2f0058b5-cfc6-420c-90e5-2b8160eab7ec"),
name="New Self-Organised Workshop",
signal=SignalNameEnum.new_self_organised_workshop,
from_header="workshops@carpentries.org",
reply_to_header="",
cc_header=[],
bcc_header=[],
subject="{{ workshop_host.fullname }} ({{ event.slug }}) Workshop",
body=(
"Thanks for your Self-Organised workshop submission at {{ event.venue }} on"
" {{ event.human_readable_date }}. Your workshop has been added to our "
"database."
),
),
EmailTemplateDef(
active=True,
id=UUID("1b7cff0e-5102-4c88-9bd5-efba57078580"),
name="Ask for website",
signal=SignalNameEnum.ask_for_website,
from_header="workshops@carpentries.org",
reply_to_header="",
cc_header=[],
bcc_header=[],
subject=(
"Workshop Website needed for workshop at {{ event.venue }} on "
"{{ event.human_readable_date }}"
),
body=(
"This is a friendly reminder to please share with me the workshop "
"website once it has been completed."
),
),
]


Expand Down
Loading