]> git.parisson.com Git - teleforma.git/commitdiff
Fix course detail listing
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 22 May 2018 21:01:49 +0000 (23:01 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 22 May 2018 21:01:49 +0000 (23:01 +0200)
teleforma/templates/teleforma/course_detail.html

index 3f9c696a0dac7f5b4e76f733afa1781dbb2973e5..d7883a0996ef37ab6896a647db934b07d497c321 100644 (file)
@@ -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' %}
       <div class="course">
         <div class="course_title">{{ course.title }} - {{ type }}{% if course.description %} - {{ course.description }}{% endif %}
         </div>
@@ -64,7 +63,6 @@ $(document).ready(function(){
         {% endif %}
 
         </div>
-        {% endif %}
       {% endfor %}
      {% endwith %}
     {% endfor %}