From f7f1799c5405f24480221c7ed0e4f60f8eacc1ba Mon Sep 17 00:00:00 2001 From: magnus <magnus@DESKTOP-PBBMKGC.localdomain> Date: Fri, 29 Apr 2022 23:07:29 +0200 Subject: [PATCH] add date of meeting to subject of reminder emails --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index 25b4df1..4a8b2a4 100644 --- a/tasks.py +++ b/tasks.py @@ -808,12 +808,12 @@ def send_reminder_async(reminder_id, protocol_id): if reminder.send_public: send_mail( protocol, protocol.protocoltype.public_mail, - "Tagesordnung der {}".format(protocol.protocoltype.name), + "Tagesordnung der {} am {}".format(protocol.protocoltype.name, date_filter_short(protocol.date)), reminder_text, reply_to=protocol.protocoltype.public_mail) if reminder.send_private: send_mail( protocol, protocol.protocoltype.private_mail, - "Tagesordnung der {}".format(protocol.protocoltype.name), + "Tagesordnung der {} am {}".format(protocol.protocoltype.name, date_filter_short(protocol.date)), reminder_text, reply_to=protocol.protocoltype.private_mail) -- GitLab