diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:03:56 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:03:56 (GMT) |
commit | c547dce30366b3a6097008086cbc0b917c6a2f85 (patch) | |
tree | 95ab3a86af602f6574180d1c74479c5a2c0c3b40 /program/templates/show_list.html | |
parent | 1471381dfe74411934ec51f88bb5c4e7e47f2c36 (diff) |
formated templates and updated templatetags
Diffstat (limited to 'program/templates/show_list.html')
-rw-r--r-- | program/templates/show_list.html | 71 |
1 files changed, 37 insertions, 34 deletions
diff --git a/program/templates/show_list.html b/program/templates/show_list.html index 167a470..136930d 100644 --- a/program/templates/show_list.html +++ b/program/templates/show_list.html @@ -6,48 +6,51 @@ {% load content_boxes %} <div id="filter-format"> -{% broadcastformat %} + {% broadcastformat %} </div> <div id="filter-topic"> - <dl id="filter-header" class="portlet"> - <dt class="portletHeader"><span>Filter<span></dt> - </dl> -{% musicfocus %} -{% showinformation %} -{% showtopic %} + <dl id="filter-header" class="portlet"> + <dt class="portletHeader"><span>Filter<span></dt> + </dl> + {% musicfocus %} + {% showinformation %} + {% showtopic %} </div> <div id="content-main" class="show-list"> - <h1>Sendungen A-Z</h1> + <h1>Sendungen A-Z</h1> - <div id="shows"> - {% 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> + <div id="shows"> + {% 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> + {% endfor %} + {% for item in show.showtopic.all %} + <span title="{{ item.topic }}" + class="abbrev st-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span> + {% endfor %} + {% for item in show.musicfocus.all %} + <span title="{{ item.focus }}" + class="abbrev mf-{{ item.abbrev }}"><span>{{ item.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> + {% endif %} + {% endfor %} + </ul> + <p class="show-description">{{ show.short_description }}</p> + </div> + </div> {% endfor %} - {% for item in show.showtopic.all %} - <span title="{{item.topic}}" class="abbrev st-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span> - {% endfor %} - {% for item in show.musicfocus.all %} - <span title="{{item.focus}}" class="abbrev mf-{{ item.abbrev }}"><span>{{ item.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> - {% endif %} - {% endfor %} - </ul> - <p class="show-description">{{ show.short_description }}</p> - </div> </div> - {% endfor %} - </div> </div> |