don't display twice normal avis (#11079)
This commit is contained in:
parent
7fcfa17095
commit
46b44136e9
|
@ -24,17 +24,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if object.get_avis|length %}
|
|
||||||
<div class="bo-block">
|
|
||||||
<strong>{% trans "Avis" %}</strong>
|
|
||||||
<ul>
|
|
||||||
{% for avis in object.get_avis %}
|
|
||||||
<li>{{avis.role_name}}: {% firstof avis.comments '-' %}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if object.get_mandatory_avis|length %}
|
{% if object.get_mandatory_avis|length %}
|
||||||
<div class="bo-block
|
<div class="bo-block
|
||||||
{% for avis in object.get_mandatory_avis %}{% if not avis.comments %} important {% endif %}{% endfor %}">
|
{% for avis in object.get_mandatory_avis %}{% if not avis.comments %} important {% endif %}{% endfor %}">
|
||||||
|
|
Loading…
Reference in New Issue