<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 %}