From 353a33e08a718c7b1150aa60a352960948244acb Mon Sep 17 00:00:00 2001 From: Johannes Raggam <raggam-nl@adm.at> Date: Tue, 12 Apr 2011 13:01:42 +0200 Subject: classes directly on element to be altered instead of one level above diff --git a/helsinki/program/templates/program/box_musicfocus.html b/helsinki/program/templates/program/box_musicfocus.html index da2c90f..9f57b60 100644 --- a/helsinki/program/templates/program/box_musicfocus.html +++ b/helsinki/program/templates/program/box_musicfocus.html @@ -4,8 +4,8 @@ <dd class="portletItem"> <ul> {% for item in musicfoci %} - <li class="mf-{{ item.abbrev }}"> - <a href="?musicfocus={{ item.slug }}">{{ item }}</a> + <li> + <a class="filteritem mf-{{ item.abbrev }}" href="?musicfocus={{ item.slug }}">{{ item }}</a> </li> {% endfor %} </ul> diff --git a/helsinki/program/templates/program/box_showinformation.html b/helsinki/program/templates/program/box_showinformation.html index a3171d0..9a08ddc 100644 --- a/helsinki/program/templates/program/box_showinformation.html +++ b/helsinki/program/templates/program/box_showinformation.html @@ -4,8 +4,8 @@ <dd class="portletItem"> <ul> {% for item in showinformations %} - <li class="si-{{ item.abbrev }}"> - <a href="?showinformation={{ item.slug }}">{{ item }}</a> + <li> + <a class="filteritem si-{{ item.abbrev }}" href="?showinformation={{ item.slug }}">{{ item }}</a> </li> {% endfor %} </ul> diff --git a/helsinki/program/templates/program/box_showtopic.html b/helsinki/program/templates/program/box_showtopic.html index 79e9519..3dd7e88 100644 --- a/helsinki/program/templates/program/box_showtopic.html +++ b/helsinki/program/templates/program/box_showtopic.html @@ -4,8 +4,8 @@ <dd class="portletItem"> <ul> {% for item in showtopics %} - <li class="st-{{ item.abbrev }}"> - <a href="?showtopic={{ item.slug }}">{{ item }}</a> + <li> + <a class="filteritem st-{{ item.abbrev }}" href="?showtopic={{ item.slug }}">{{ item }}</a> </li> {% endfor %} </ul> -- cgit v0.10.2 From 3b35294c5bc03129366ec30153a96ac6d8ba41e0 Mon Sep 17 00:00:00 2001 From: Johannes Raggam <raggam-nl@adm.at> Date: Tue, 12 Apr 2011 23:42:03 +0200 Subject: day schedule diff --git a/helsinki/program/templates/program/day_schedule.html b/helsinki/program/templates/program/day_schedule.html index a0e1ac4..72c9560 100644 --- a/helsinki/program/templates/program/day_schedule.html +++ b/helsinki/program/templates/program/day_schedule.html @@ -27,8 +27,8 @@ <div id="timeslots"> {% for timeslot in timeslots %} - <div class="timeslot bcformat-{{ timeslot.show.broadcastformat.slug }}"> - <div class="start">{{ timeslot.start|date:"H:i" }}</div> + <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> + <div class="show-start">{{ timeslot.start|date:"H:i" }}</div> <div class="show-abbrevs"> {% for showinformation in timeslot.show.showinformation.all %} <span class="si-{{ showinformation.abbrev }}">{{ showinformation.abbrev }}</span> @@ -41,12 +41,12 @@ {% endfor %} </div> <div class="show"> - <h3 class="name"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></h3> + <h3 class="show-title"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></h3> {% if timeslot.note %} <p class="note-title"><strong>Heute:</strong> {{ timeslot.note.title }}</p> {% else %} {% if timeslot.show.short_description != 'FIXME' %} - <p class="short-description">{{ timeslot.show.short_description }}</p> + <p class="show-description">{{ timeslot.show.short_description }}</p> {% endif %} {% endif %} </div> -- cgit v0.10.2