fix history template
This commit is contained in:
parent
e39fa666cd
commit
701017bdb4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue