From a4e65be944763482155c224f62a1e6e3837d3833 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sat, 20 Aug 2016 21:26:32 +0200 Subject: display only active program slots of a show. 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 @@

{{ show.name }}

{% if show.id != 1 %}

- {% for slot in show.programslots.all %} + {% for slot in show.active_programslots %} {{ slot }}
{% endfor %}

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 @@

{{ show.name }}

-- cgit v0.10.2