From 36766cba668ac482a3f4dcf070364c4ee770c382 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Sun, 23 Jun 2019 16:22:34 +0200 Subject: [PATCH] Differentiate Author Reply from Comment in comment-related emails --- .../email/commenters/inform_commenter_comment_received.html | 4 ++-- .../email/commenters/inform_commenter_comment_rejected.html | 2 +- .../email/commenters/inform_commenter_comment_vetted.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/email/commenters/inform_commenter_comment_received.html b/templates/email/commenters/inform_commenter_comment_received.html index 314293fc7..b94e9c6ea 100644 --- a/templates/email/commenters/inform_commenter_comment_received.html +++ b/templates/email/commenters/inform_commenter_comment_received.html @@ -2,7 +2,7 @@ <p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p> <p> - We hereby confirm reception of your Comment, concerning + We hereby confirm reception of your {% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %}, concerning <br/> {{ comment.core_content_object.title }} {% if comment.core_content_object.author_list %} @@ -16,7 +16,7 @@ <p> We copy it below for your convenience. <br> - Your Comment will soon be vetted, at which point you will receive an email update from us. + Your {% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} will be made visible after vetting by the editorial team, at which point you will receive an email update from us. </p> <p> Thank you for your contribution,<br><br> diff --git a/templates/email/commenters/inform_commenter_comment_rejected.html b/templates/email/commenters/inform_commenter_comment_rejected.html index efcfee2f6..8590ac57b 100644 --- a/templates/email/commenters/inform_commenter_comment_rejected.html +++ b/templates/email/commenters/inform_commenter_comment_rejected.html @@ -2,7 +2,7 @@ <p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p> <p> - The Comment you have submitted, concerning + The {% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} you have submitted, concerning <br/> {{ comment.core_content_object.title }} by {% if comment.core_content_object.author_list %}{{ comment.core_content_object.author_list }}{% elif comment.core_content_object.author %}{{ comment.core_content_object.author }}{% endif %} (<a href="https://scipost.org{{ comment.get_absolute_url }}">see on SciPost.org</a>) <br/> diff --git a/templates/email/commenters/inform_commenter_comment_vetted.html b/templates/email/commenters/inform_commenter_comment_vetted.html index a4fa53fdc..594dd4889 100644 --- a/templates/email/commenters/inform_commenter_comment_vetted.html +++ b/templates/email/commenters/inform_commenter_comment_vetted.html @@ -3,7 +3,7 @@ <p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p> <p> - The Comment you have submitted, concerning + The {% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} you have submitted, concerning <br/> {{ comment.core_content_object.title }} by {% if comment.core_content_object.author_list %}{{ comment.core_content_object.author_list }}{% elif comment.core_content_object.author %}{{ comment.core_content_object.author }}{% endif %} (<a href="https://scipost.org{{ comment.get_absolute_url }}">see on SciPost.org</a>) <br/> -- GitLab