From bc001425799b0b4ce548ee18870e5fefa40bb427 Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Tue, 4 Jun 2024 13:50:37 +0200 Subject: [PATCH] update EIC assignment email templates with p tags --- .../email_fellow_assigned_submission.html | 21 ++++++++++++------- .../email_fellow_replaced_by_other.html | 18 +++++++++------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/scipost_django/templates/email/fellows/email_fellow_assigned_submission.html b/scipost_django/templates/email/fellows/email_fellow_assigned_submission.html index 045bddb2f..7216b0e1b 100644 --- a/scipost_django/templates/email/fellows/email_fellow_assigned_submission.html +++ b/scipost_django/templates/email/fellows/email_fellow_assigned_submission.html @@ -1,15 +1,20 @@ -Dear {{ assignment.to.profile.get_title_display }} {{ assignment.to.user.last_name }}, - -Thank you for accepting to become Editor-in-charge of the SciPost Submission +<p>Dear {{ assignment.to.profile.get_title_display }} {{ assignment.to.user.last_name }},</p> +<p> + Thank you for accepting to become Editor-in-charge of the SciPost Submission<br /> {{ assignment.submission.title }} by {{ assignment.submission.author_list }}. +</p> -You can take your editorial actions from <a href="https://{{ domain }}{% url 'submissions:editorial_page' assignment.submission.preprint.identifier_w_vn_nr %}">the editorial page</a>. - -In particular, you should now make sure at least 3 referees have been invited; you might want to make sure you are aware of the detailed procedure described in <a href="https://{{ domain }}{% url 'scipost:EdCol_by-laws' %}">the Editorial College by-laws</a>. +<p>You can take your editorial actions from <a href="https://{{ domain }}{% url 'submissions:editorial_page' assignment.submission.preprint.identifier_w_vn_nr %}">the editorial page</a>.</p> -Many thanks in advance for your collaboration, +<p> + In particular, you should now make sure at least 3 referees have been invited; + you might want to make sure you are aware of the detailed procedure described in <a href="https://{{ domain }}{% url 'scipost:EdCol_by-laws' %}">the Editorial College by-laws</a>. +</p> -SciPost Editorial Administration +<p> + Many thanks in advance for your collaboration,<br /> + SciPost Editorial Administration +</p> {% include 'email/_submission_thread_uuid.html' with submission=assignment.submission %} diff --git a/scipost_django/templates/email/fellows/email_fellow_replaced_by_other.html b/scipost_django/templates/email/fellows/email_fellow_replaced_by_other.html index b9c68a5c6..f89a717be 100644 --- a/scipost_django/templates/email/fellows/email_fellow_replaced_by_other.html +++ b/scipost_django/templates/email/fellows/email_fellow_replaced_by_other.html @@ -1,13 +1,15 @@ -Dear {{ assignment.to.profile.get_title_display }} {{ assignment.to.user.last_name }}, +<p>Dear {{ assignment.to.profile.get_title_display }} {{ assignment.to.user.last_name }},</p> -We have deprecated your assignment as Editor-in-charge of Submission +<p> + We have deprecated your assignment as Editor-in-charge of Submission<br /> + {{ assignment.submission.title }} by {{ assignment.submission.author_list }}. +</p> -{{ assignment.submission.title }} by {{ assignment.submission.author_list }}. +<p>To see your current active assignments, check <a href="https://{{ domain }}{% url 'submissions:pool:pool' %}?editor_in_charge=on.">the Pool</a>.</p> -To see your current active assignments, check <a href="https://{{ domain }}{% url 'submissions:pool:pool' %}?editor_in_charge=on.">the Pool</a>. - -Many thanks for your valuable work, - -SciPost Editorial Administration +<p> + Many thanks for your valuable work,<br> + SciPost Editorial Administration +</p> {% include 'email/_submission_thread_uuid.html' with submission=assignment.submission %} -- GitLab