diff --git a/submissions/management/commands/email_fellows_tasklist.py b/submissions/management/commands/email_fellows_tasklist.py index 90d19e235d32e34e3e572bebe9b7c49f0d718316..efeb5eb7be4ebea5b73a696250fb920c9421e923 100644 --- a/submissions/management/commands/email_fellows_tasklist.py +++ b/submissions/management/commands/email_fellows_tasklist.py @@ -14,8 +14,8 @@ class Command(BaseCommand): ).order_by('user__last_name') for fellow in fellows: - submissions_as_eic = Submission.objects.filter( - editor_in_charge=fellow).order_by('submission_date') + submissions_as_eic = Submission.objects.filter_for_eic( + fellow.user).order_by('submission_date') assignments_to_consider = EditorialAssignment.objects.open().filter( to=fellow) if submissions_as_eic or assignments_to_consider: diff --git a/templates/email/email_fellow_tasklist.html b/templates/email/email_fellow_tasklist.html index 18721cefae72a974ad869f26aaa291747b741d91..4f555a08a26e31911e015aaadce7531885376277 100644 --- a/templates/email/email_fellow_tasklist.html +++ b/templates/email/email_fellow_tasklist.html @@ -29,7 +29,10 @@ </ul> {% endif %} <p> - Many thanks for your work,<br> + Don't hesitate to <a href="mailto:edadmin@scipost.org">email the editorial administration</a> if you need any assistance. +</p> +<p> + Many thanks,<br> The SciPost Team. </p> {% include 'email/_footer.html' %} diff --git a/templates/email/email_fellow_tasklist.txt b/templates/email/email_fellow_tasklist.txt index eaa14516ca346dffa08f33872b07483c742a9d88..3cc75670c70e036c4d256d53feb68e9916239cfb 100644 --- a/templates/email/email_fellow_tasklist.txt +++ b/templates/email/email_fellow_tasklist.txt @@ -24,6 +24,6 @@ No actions required\n {% endfor %} {% endif %} \n -You can take action on all of these starting from your personal page at https://scipost.org/personal_page.\n\n -Many thanks for your work,\n +You can take action on all of these starting from your personal page at https://scipost.org/personal_page. Don't hesitate to email the editorial administration at edadmin@scipost.org if you need any assistance.\n\n +Many thanks,\n The SciPost Team.