]> git.parisson.com Git - teleforma.git/commitdiff
fix no quiz
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 7 Dec 2015 12:58:45 +0000 (13:58 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 7 Dec 2015 12:58:45 +0000 (13:58 +0100)
teleforma/templates/teleforma/seminar_detail.html

index dcf80c9e6f29f5de3e092f96ca04c126159a0079..060cfad482d8068e5f92f38cb0c195f8be6f5849 100644 (file)
@@ -156,12 +156,14 @@ $(window).ready(function( ){
        </div>
       {% endwith %}
 
+      {% if seminar.quiz %}
       <div class="course_content">
        <div class="course_subtitle">
          <h3><img src="{{ STATIC_URL }}/telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Step" %} 2bis : {% trans "Quiz" %}</h3>
        </div>
        {% include "teleforma/inc/quiz_list.html" %}
       </div>
+      {% endif %}
 
      {% with seminar.docs_2 as docs %}
        <div class="course_content">