From: Guillaume Pellerin Date: Tue, 12 May 2020 20:10:25 +0000 (+0200) Subject: [documents] fix multiple course_type by document X-Git-Tag: 1.4.1~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2a684c05757fe008f45c0c1c255b67bd68ed96f2;p=teleforma.git [documents] fix multiple course_type by document --- diff --git a/teleforma/templates/teleforma/inc/document_list.html b/teleforma/templates/teleforma/inc/document_list.html index 3b84f3c6..236a15a6 100644 --- a/teleforma/templates/teleforma/inc/document_list.html +++ b/teleforma/templates/teleforma/inc/document_list.html @@ -14,14 +14,11 @@ {% for doc in docs|from_course_type:type|from_doc_type:doc_type|from_period:period|published %} - {% if doc.course_type.all|length > 1 and type_counter > 1 %} - {% else %} - {% endif %} {% endfor %}
{% if doc.file %}{% endif %} {{ doc.title }}{% if doc.file %}{% endif %} {{ doc.date_added }} {% if doc.file %}{% endif %}