From 4bcc49ad5f4271226b1ddbd01f3a23c551795842 Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Fri, 1 Oct 2021 14:12:41 +0200 Subject: [PATCH] =?UTF-8?q?Maj=20template=20avec=20d=C3=A9tail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/notification_email.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/templates/notification_email.html b/templates/notification_email.html index 58e2965..bf2fd17 100644 --- a/templates/notification_email.html +++ b/templates/notification_email.html @@ -8,6 +8,19 @@

Destinataires {{ ''.join(data['recipients']) }}

+ {% if data['changements'] %} +

Changements

+ {% for changement in data['changements'] %} +

{{changement}}

+ {% endfor %} + {% endif %} + + {% if data['status'] %} +

État courant

+ {% for status in data['status'] %} +

{{status}}

+ {% endfor %} + {% endif %}