From: Guillaume Pellerin Date: Tue, 22 May 2018 21:01:49 +0000 (+0200) Subject: Fix course detail listing X-Git-Tag: 1.3~4^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3535c5009fd7d8a3d2f5b7ee37669a6f52152ef3;p=teleforma.git Fix course detail listing --- diff --git a/teleforma/templates/teleforma/course_detail.html b/teleforma/templates/teleforma/course_detail.html index 3f9c696a..d7883a09 100644 --- a/teleforma/templates/teleforma/course_detail.html +++ b/teleforma/templates/teleforma/course_detail.html @@ -28,7 +28,6 @@ $(document).ready(function(){ {% for c in courses %} {% with c.course as course %} {% for type in c.types %} - {% if course.quiz.all or type.name != 'Quiz' %}
{{ course.title }} - {{ type }}{% if course.description %} - {{ course.description }}{% endif %}
@@ -64,7 +63,6 @@ $(document).ready(function(){ {% endif %}
- {% endif %} {% endfor %} {% endwith %} {% endfor %}