diff options
Diffstat (limited to 'program/templates/show_list.html')
-rw-r--r-- | program/templates/show_list.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/program/templates/show_list.html b/program/templates/show_list.html index 62594e9..d9b9a47 100644 --- a/program/templates/show_list.html +++ b/program/templates/show_list.html @@ -40,10 +40,8 @@ <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 %} - {% if programslot.is_active %} - <li class="show-programslot">{{ programslot }}</li> - {% endif %} + {% for programslot in show.active_program_slots %} + <li class="show-programslot">{{ programslot }}</li> {% endfor %} </ul> <p class="show-description">{{ show.short_description }}</p> |