diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-03-27 18:56:59 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-03-27 18:56:59 (GMT) |
commit | 43fa018afbade0085ffae9734eedd8de75a5fdf9 (patch) | |
tree | 7f2f6a07904ffebbec51a53edb759ac17172eba7 /program/templates/show_list.html | |
parent | 6c29ea12d96094cf1b71e6c2f22043bf92d32bcb (diff) |
fixed templates
Diffstat (limited to 'program/templates/show_list.html')
-rw-r--r-- | program/templates/show_list.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/program/templates/show_list.html b/program/templates/show_list.html index 136930d..62594e9 100644 --- a/program/templates/show_list.html +++ b/program/templates/show_list.html @@ -10,7 +10,7 @@ </div> <div id="filter-topic"> <dl id="filter-header" class="portlet"> - <dt class="portletHeader"><span>Filter<span></dt> + <dt class="portletHeader"><span>Filter</span></dt> </dl> {% musicfocus %} {% showinformation %} @@ -24,25 +24,25 @@ {% for show in show_list %} <div class="show bf-{{ show.broadcastformat.slug }}"> <div class="show-abbrevs"> - {% for item in show.showinformation.all %} - <span title="{{ item.information }}" - class="abbrev si-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span> + {% for si in show.showinformation.all %} + <span title="{{ si.information }}" + class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span> {% endfor %} - {% for item in show.showtopic.all %} - <span title="{{ item.topic }}" - class="abbrev st-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span> + {% for st in show.showtopic.all %} + <span title="{{ st.topic }}" + class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span> {% endfor %} - {% for item in show.musicfocus.all %} - <span title="{{ item.focus }}" - class="abbrev mf-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span> + {% for mf in show.musicfocus.all %} + <span title="{{ mf.focus }}" + class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span> {% endfor %} </div> <div class="show-detail"> <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> + {% for programslot in show.programslots.all %} + {% if programslot.is_active %} + <li class="show-programslot">{{ programslot }}</li> {% endif %} {% endfor %} </ul> |