summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-02-15 22:10:23 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2012-02-15 22:10:23 (GMT)
commite9581e89fd0b9c27ff6ad766a6aec3932f3a63e8 (patch)
tree928b14712d95b7744bd792334e02889f226d019a /templates
parent6463c08c83fea3c744ca5bfdd31699bffd118e4f (diff)
only active program slots at show list
Diffstat (limited to 'templates')
-rw-r--r--templates/program/show_list.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/program/show_list.html b/templates/program/show_list.html
index c527c09..167a470 100644
--- a/templates/program/show_list.html
+++ b/templates/program/show_list.html
@@ -38,7 +38,9 @@
<h3 class="show-title"><a href="{% url show-detail show.slug %}">{{ show.name }}</a></h3>
<ul class="show-programslots">
{% for slot in show.programslots.all %}
+ {% if slot.has_active_timeslot %}
<li class="show-programslot">{{ slot }}</li>
+ {% endif %}
{% endfor %}
</ul>
<p class="show-description">{{ show.short_description }}</p>