summaryrefslogtreecommitdiff
path: root/templates/program/show_detail.html
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-02-15 22:06:22 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2012-02-15 22:06:22 (GMT)
commit6463c08c83fea3c744ca5bfdd31699bffd118e4f (patch)
tree1d06a213a32452ddf35388331f794625b15b596d /templates/program/show_detail.html
parent55b2560b6180addea5d8b16e4dd4f80314fd7e09 (diff)
only show active program_slots at show_detail
Diffstat (limited to 'templates/program/show_detail.html')
-rw-r--r--templates/program/show_detail.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/program/show_detail.html b/templates/program/show_detail.html
index b5c5f91..8337155 100644
--- a/templates/program/show_detail.html
+++ b/templates/program/show_detail.html
@@ -14,7 +14,9 @@
{% if show.id != 1 %}
<p id="programslots">
{% for slot in show.programslots.all %}
- <span class="programslot">{{ slot }}</span><br />
+ {% if slot.has_active_timeslot %}
+ <span class="programslot">{{ slot }}</span><br />
+ {% endif %}
{% endfor %}
</p>
{% endif %}