From 3a6218c6c5977b650d783f73bb37270b3b88ecf8 Mon Sep 17 00:00:00 2001
From: Vaibhav Mule <vaibhavmule135@gmail.com>
Date: Fri, 20 Mar 2020 16:39:28 +0530
Subject: [PATCH] use existing ready to review template for review reminder

---
 hypha/apply/activity/messaging.py                        | 2 +-
 .../templates/messages/email/ready_to_review.html        | 2 +-
 .../templates/messages/email/review_reminder.html        | 9 ---------
 3 files changed, 2 insertions(+), 11 deletions(-)
 delete mode 100644 hypha/apply/activity/templates/messages/email/review_reminder.html

diff --git a/hypha/apply/activity/messaging.py b/hypha/apply/activity/messaging.py
index 717a33fbe..2710b0c91 100644
--- a/hypha/apply/activity/messaging.py
+++ b/hypha/apply/activity/messaging.py
@@ -673,7 +673,7 @@ class EmailAdapter(AdapterBase):
         MESSAGES.SKIPPED_REPORT: 'messages/email/report_skipped.html',
         MESSAGES.REPORT_FREQUENCY_CHANGED: 'messages/email/report_frequency.html',
         MESSAGES.REPORT_NOTIFY: 'messages/email/report_notify.html',
-        MESSAGES.REVIEW_REMINDER: 'messages/email/review_reminder.html',
+        MESSAGES.REVIEW_REMINDER: 'messages/email/ready_to_review.html',
     }
 
     def get_subject(self, message_type, source):
diff --git a/hypha/apply/activity/templates/messages/email/ready_to_review.html b/hypha/apply/activity/templates/messages/email/ready_to_review.html
index 98dabcef3..d2713c6c5 100644
--- a/hypha/apply/activity/templates/messages/email/ready_to_review.html
+++ b/hypha/apply/activity/templates/messages/email/ready_to_review.html
@@ -2,7 +2,7 @@
 {% block salutation %}Dear Reviewer,{% endblock %}
 
 {% block content %}
-A new proposal has been added to your review list.
+This application is awaiting your review.
 
 Title: {{ source.title }}
 Link: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
diff --git a/hypha/apply/activity/templates/messages/email/review_reminder.html b/hypha/apply/activity/templates/messages/email/review_reminder.html
deleted file mode 100644
index 1d3baf9c7..000000000
--- a/hypha/apply/activity/templates/messages/email/review_reminder.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% extends "messages/email/base.html" %}
-{% block salutation %}Dear Reviewer,{% endblock %}
-
-{% block content %}
-A new proposal is awaiting your review.
-
-Title: {{ source.title }}
-Link: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
-{% endblock %}
-- 
GitLab