diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-06-27 17:56:18 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-06-27 17:56:18 (GMT) |
commit | bbf4db68ee298868674e538f53998e3417514036 (patch) | |
tree | a0673951ce20a8576b7b1606c5e8fbf548452d14 /templates/program/week_schedule_timeslot.html | |
parent | ae5a132ce233ac3f5845db3daf94f09656d45954 (diff) |
week schedule layout optimization
Diffstat (limited to 'templates/program/week_schedule_timeslot.html')
-rw-r--r-- | templates/program/week_schedule_timeslot.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/templates/program/week_schedule_timeslot.html b/templates/program/week_schedule_timeslot.html index 7b0f800..a2c452e 100644 --- a/templates/program/week_schedule_timeslot.html +++ b/templates/program/week_schedule_timeslot.html @@ -2,20 +2,28 @@ {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}" {% duration_until timeslot.start %}> -{{ default_show.name }} + <div> + {{ default_show.name }} + </div> </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}" {% duration timeslot.start timeslot.end %}> - <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> + <div> + <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> + </div> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} {% if not forloop.last %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}" {% duration timeslot.end timeslot.get_next_by_start.start %}> -{{ default_show.name }} + <div> + {{ default_show.name }} + </div> </div> {% else %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}" {% duration_since timeslot.end %}> -{{ default_show.name }} + <div> + {{ default_show.name }} + </div> </div> {% endif %} {% endif %} |