only show new curriculum if present
[edumed.git] / catalogue / templates / catalogue / lesson / lesson_detail.html
index a8087bf..f313936 100755 (executable)
         <ul class="plain">
         {% curriculum object.dc.curriculum %}
         </ul>
+    </section>
+    {% endif %}
+
+    {% if object.dc.curriculum_new %}
+    <section class="section-minor">
         <h1>Podstawa programowa 2017:</h1>
         <ul class="plain">
         {% curriculum object.dc.curriculum_new new=True %}