29 lines
615 B
HTML
29 lines
615 B
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Email de notification</title>
|
|
</head>
|
|
<body style="background: lightgray;">
|
|
|
|
<p> Destinataires {{ ''.join(data['recipients']) }} </p>
|
|
|
|
{% if data['changements'] %}
|
|
<p> Changements </p>
|
|
{% for changement in data['changements'] %}
|
|
<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>
|
|
</html>
|
|
|