From 3535c5009fd7d8a3d2f5b7ee37669a6f52152ef3 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 22 May 2018 23:01:49 +0200 Subject: [PATCH] Fix course detail listing --- teleforma/templates/teleforma/course_detail.html | 2 -- 1 file changed, 2 deletions(-) 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 %} -- 2.39.5