summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/templates/show_detail.html2
-rw-r--r--program/templates/show_list.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html
index 9fb9fb0..2e45549 100644
--- a/program/templates/show_detail.html
+++ b/program/templates/show_detail.html
@@ -13,7 +13,7 @@
<h1 id="name">{{ show.name }}</h1>
{% if show.id != 1 %}
<p id="programslots">
- {% for slot in show.programslots.all %}
+ {% for slot in show.active_programslots %}
<span class="programslot">{{ slot }}</span><br/>
{% endfor %}
</p>
diff --git a/program/templates/show_list.html b/program/templates/show_list.html
index 96ea497..d9b9a47 100644
--- a/program/templates/show_list.html
+++ b/program/templates/show_list.html
@@ -40,7 +40,7 @@
<div class="show-detail">
<h3 class="show-title"><a href="{% url "show-detail" show.slug %}">{{ show.name }}</a></h3>
<ul class="show-programslots">
- {% for programslot in show.programslots.all %}
+ {% for programslot in show.active_program_slots %}
<li class="show-programslot">{{ programslot }}</li>
{% endfor %}
</ul>