summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--welco/sources/mail/templates/welco/mail_summary.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/welco/sources/mail/templates/welco/mail_summary.html b/welco/sources/mail/templates/welco/mail_summary.html
index 5b1cd79..90ce703 100644
--- a/welco/sources/mail/templates/welco/mail_summary.html
+++ b/welco/sources/mail/templates/welco/mail_summary.html
@@ -48,12 +48,11 @@
</div>
{% endif %}
-{% if object.get_mandatory_avis|length %}
-<div class="bo-block
- {% for avis in object.get_mandatory_avis %}{% if not avis.comments %} important {% endif %}{% endfor %}">
-<strong>{% trans "Mandatory Avis" %}</strong>
+{% if object.get_avis|length %}
+<div class="bo-block">
+<strong>{% trans "Avis" %}</strong>
<ul>
- {% for avis in object.get_mandatory_avis %}
+ {% for avis in object.get_avis %}
<li>{{avis.role_name}}:
{% if avis.comments %}{{ avis.comments }}{% else %}{% trans 'Waiting for avis.' %}{% endif %}</li>
{% endfor %}