fix history template

This commit is contained in:
Colin Goutte 2021-10-01 16:07:30 +02:00
parent e39fa666cd
commit 701017bdb4
1 changed files with 2 additions and 12 deletions

View File

@ -2,25 +2,15 @@
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Email de notificaiton</title>
<title>Historique </title>
</head>
<body style="background: lightgray;">
<p> Destinataires {{ ''.join(data['recipients']) }} </p>
{% if data['changements'] %}
<p> Changements </p>
{% for changement in data['changements'] %}
{% for changement in lines %}
<p style="{{ coloriser(changement) }}"> {{changement}} </p>
{% endfor %}
{% endif %}
{% if data['status'] %}
<p> État courant </p>
{% for status in data['status'] %}
<p style="{{ coloriser(status) }}"> {{status}} </p>
{% endfor %}
{% endif %}
</body>