From 5ecdadb1bc5b78f812afe7edbd6530639cf5af76 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Fri, 21 Apr 2017 05:31:04 +0200 Subject: [PATCH] Correct emails --- submissions/utils.py | 2 +- templates/email/submission_eic_reappointment.html | 9 +++++++-- templates/email/submission_eic_reappointment_html.html | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/submissions/utils.py b/submissions/utils.py index a89a0b2b5..379fe010f 100644 --- a/submissions/utils.py +++ b/submissions/utils.py @@ -506,7 +506,7 @@ class SubmissionUtils(BaseMailUtil): 'Submission Page; you will be informed by email of any such Report or ' 'Comment being delivered). In order to facilitate the work of the ' 'Editorial College, we recommend limiting these replies to short ' - 'to-the-point clarifications of any issue raised on your manuscript.\n\n ' + 'to-the-point clarifications of any issue raised on your manuscript.\n\n' 'Please wait for the Editor-in-charge\'s Editorial Recommendation ' 'before any resubmission of your manuscript.' '\n\nTo facilitate metadata handling, we recommend that all authors ' diff --git a/templates/email/submission_eic_reappointment.html b/templates/email/submission_eic_reappointment.html index ec2731e24..e7ac14865 100644 --- a/templates/email/submission_eic_reappointment.html +++ b/templates/email/submission_eic_reappointment.html @@ -1,6 +1,11 @@ -Dear {{submission.editor_in_charge.get_title_display}} {{submission.editor_in_charge.last_name}},\n\n +Dear {{submission.editor_in_charge.get_title_display}} {{submission.editor_in_charge.user.last_name}},\n\n -The authors of the SciPost Submission {{submission.title}} by {{submission.author_list}} have resubmitted their manuscript.\n\n +The authors of the SciPost Submission\n\n +{{submission.title}} +\n\n +by {{submission.author_list}} +\n\n +have resubmitted their manuscript.\n\n As Editor-in-charge, you can take your editorial actions from the submission\'s editorial page: {{request.get_host}}{% url 'submissions:editorial_page' submission.arxiv_identifier_w_vn_nr %}.\n (also accessible from your personal page under the Editorial Actions tab), see {{request.get_host}}{% url 'scipost:personal_page' %}. \n\n diff --git a/templates/email/submission_eic_reappointment_html.html b/templates/email/submission_eic_reappointment_html.html index 59c157eb3..384f29c61 100644 --- a/templates/email/submission_eic_reappointment_html.html +++ b/templates/email/submission_eic_reappointment_html.html @@ -1,4 +1,4 @@ -<h3>Dear {{submission.editor_in_charge.get_title_display}} {{submission.editor_in_charge.last_name}},</h3> +<h3>Dear {{submission.editor_in_charge.get_title_display}} {{submission.editor_in_charge.user.last_name}},</h3> <p> The authors of the SciPost Submission "<span style="color: grey;">{{submission.title}} by {{submission.author_list}}</span>" have resubmitted their manuscript. -- GitLab