Skip to content
Snippets Groups Projects
Unverified Commit f25b41b5 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #2187 from OpenTechFund/feature/change-email-subject-for-batch-action

Change email subject for batch action
parents 10c0c75e e2140591
No related branches found
No related tags found
No related merge requests found
...@@ -702,6 +702,8 @@ class EmailAdapter(AdapterBase): ...@@ -702,6 +702,8 @@ class EmailAdapter(AdapterBase):
if source: if source:
if is_ready_for_review(message_type): if is_ready_for_review(message_type):
subject = 'Application ready to review: {source.title}'.format(source=source) subject = 'Application ready to review: {source.title}'.format(source=source)
if message_type in {MESSAGES.BATCH_READY_FOR_REVIEW}:
subject = 'Multiple applications are now ready for your review'
elif message_type in {MESSAGES.REVIEW_REMINDER}: elif message_type in {MESSAGES.REVIEW_REMINDER}:
subject = 'Reminder: Application ready to review: {source.title}'.format(source=source) subject = 'Reminder: Application ready to review: {source.title}'.format(source=source)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment