From 2a684c05757fe008f45c0c1c255b67bd68ed96f2 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 12 May 2020 22:10:25 +0200 Subject: [PATCH] [documents] fix multiple course_type by document --- teleforma/templates/teleforma/inc/document_list.html | 3 --- 1 file changed, 3 deletions(-) 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 %}
-- 2.39.5