From e214059169b4cfb0a1fc24c038390e1ef724ee64 Mon Sep 17 00:00:00 2001 From: vimal1083 <vimal1083@gmail.com> Date: Tue, 8 Dec 2020 14:23:50 +0530 Subject: [PATCH] Change email subject for batch action --- hypha/apply/activity/messaging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypha/apply/activity/messaging.py b/hypha/apply/activity/messaging.py index 86788b402..559c26a48 100644 --- a/hypha/apply/activity/messaging.py +++ b/hypha/apply/activity/messaging.py @@ -702,6 +702,8 @@ class EmailAdapter(AdapterBase): if source: if is_ready_for_review(message_type): 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}: subject = 'Reminder: Application ready to review: {source.title}'.format(source=source) else: -- GitLab