]> git.0d.be Git - panikweb-studioneau.git/blobdiff - panikweb_studioneau/templates/emissions.html
include both current and discontinued shows
[panikweb-studioneau.git] / panikweb_studioneau / templates / emissions.html
index 911cf34d01cb9b4773e0d6526579254ab9f28278..5cc3223f41d33728ab4769da12cf93779e6e3cc6 100644 (file)
@@ -7,12 +7,27 @@
   <div><h2>{{ view.title }}</h2></div>
   <div>
     <ul class="collection">
-      {% for emission in emissions %}
+      {% for emission in active_emissions %}
         <li>
           {% emission_resume %}
         </li>
       {% endfor %}
-      {% include "includes/end-of-list-of-threes.html" with count=emissions|length only %}
+      {% include "includes/end-of-list-of-threes.html" with count=active_emissions|length only %}
     </ul>
   </div>
+
+  {% if archived_emissions.exists %}
+    <div><h2>{% trans "Discontinued shows" %}</h2></div>
+    <div>
+      <ul class="collection">
+        {% for emission in archived_emissions %}
+          <li>
+            {% emission_resume %}
+          </li>
+        {% endfor %}
+        {% include "includes/end-of-list-of-threes.html" with count=archived_emissions|length only %}
+      </ul>
+    </div>
+  {% endif %}
+
 {% endblock %}