SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 36766cba authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Differentiate Author Reply from Comment in comment-related emails

parent 7d9ef8c0
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p> <p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p>
<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/> <br/>
{{ comment.core_content_object.title }} {{ comment.core_content_object.title }}
{% if comment.core_content_object.author_list %} {% if comment.core_content_object.author_list %}
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<p> <p>
We copy it below for your convenience. We copy it below for your convenience.
<br> <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>
<p> <p>
Thank you for your contribution,<br><br> Thank you for your contribution,<br><br>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p> <p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p>
<p> <p>
The Comment you have submitted, concerning The {% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} you have submitted, concerning
<br/> <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>) {{ 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/> <br/>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p> <p>Dear {{ comment.author.get_title_display }} {{ comment.author.user.last_name }},</p>
<p> <p>
The Comment you have submitted, concerning The {% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} you have submitted, concerning
<br/> <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>) {{ 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/> <br/>
......
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