From e1616dd4e1849b6043261e42f8b10807723e6fa3 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Tue, 6 Feb 2018 12:03:09 +0100 Subject: [PATCH] Revert --- submissions/utils.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/submissions/utils.py b/submissions/utils.py index 103c5d849..2649daa1e 100644 --- a/submissions/utils.py +++ b/submissions/utils.py @@ -1365,3 +1365,16 @@ class SubmissionUtils(BaseMailUtil): reply_to=['admin@scipost.org']) emailmessage.attach_alternative(html_version, 'text/html') emailmessage.send(fail_silently=False) + + @classmethod + def email_Fellow_tasklist(cls): + """ + Email list of current and upcoming tasks to an individual Fellow. + + Requires context to contain: + - `fellow` + """ + cls._send_mail(cls, 'email_fellow_tasklist', +# [cls._context['fellow'].email_address], + ['jscaux@scipost.org'], # temporary, for testing + 'Current and upcoming tasks') -- GitLab