diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-02-15 22:06:22 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-02-15 22:06:22 (GMT) |
commit | 6463c08c83fea3c744ca5bfdd31699bffd118e4f (patch) | |
tree | 1d06a213a32452ddf35388331f794625b15b596d /templates | |
parent | 55b2560b6180addea5d8b16e4dd4f80314fd7e09 (diff) |
only show active program_slots at show_detail
Diffstat (limited to 'templates')
-rw-r--r-- | templates/program/show_detail.html | 4 |
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 %} |