From cd0dd25cc81c2ed432ec62f962f9752eaa4d1e95 Mon Sep 17 00:00:00 2001 From: FSMPI Admin-Team <admin@fsmpi.rwth-aachen.de> Date: Tue, 7 Mar 2017 14:24:51 +0100 Subject: [PATCH] Show metadata and correct protocolname in mail --- templates/protocol-mail.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/protocol-mail.txt b/templates/protocol-mail.txt index 12e2529..c36fb49 100644 --- a/templates/protocol-mail.txt +++ b/templates/protocol-mail.txt @@ -1,11 +1,12 @@ -Protocol der {{protocol.name}} vom {{protocol.date|datify}} +Protokoll der {{protocol.protocoltype.name}} vom {{protocol.date|datify}} Datum: {{protocol.date|datify_long}} {% if protocol.start_time is not none and protocol.end_time is not none %} Zeit: von {{protocol.start_time|timify}} bis {{protocol.end_time|timify}} {% endif %} -Protokoll: {{protocol.author}} -Anwesende: {{protocol.participants}} +{% for meta in protocol.meta %} +{{meta.name}}: meta.value +{% endfor %} Die Tagesordnung ist: {% if not protocol.has_nonplanned_tops() %} -- GitLab