From 91ef9b9329a8bf9f7d28e6934b380a92414db4dc Mon Sep 17 00:00:00 2001 From: FSMPI Admin-Team <admin@fsmpi.rwth-aachen.de> Date: Tue, 7 Mar 2017 21:12:52 +0100 Subject: [PATCH] Use all metadata of a protocol --- templates/protocol-mail.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/protocol-mail.txt b/templates/protocol-mail.txt index 661f4ac..fa09eb6 100644 --- a/templates/protocol-mail.txt +++ b/templates/protocol-mail.txt @@ -4,7 +4,7 @@ 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 %} -{% for meta in protocol.meta %} +{% for meta in protocol.metas %} {{meta.name}}: {{meta.value}} {% endfor %} -- GitLab