summaryrefslogtreecommitdiff
path: root/program/templates/show_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'program/templates/show_detail.html')
-rw-r--r--program/templates/show_detail.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html
index 47d20a1..2e45549 100644
--- a/program/templates/show_detail.html
+++ b/program/templates/show_detail.html
@@ -13,10 +13,8 @@
<h1 id="name">{{ show.name }}</h1>
{% if show.id != 1 %}
<p id="programslots">
- {% for slot in show.programslots.all %}
- {% if slot.is_active %}
- <span class="programslot">{{ slot }}</span><br/>
- {% endif %}
+ {% for slot in show.active_programslots %}
+ <span class="programslot">{{ slot }}</span><br/>
{% endfor %}
</p>
{% endif %}