<html> <head> <title>Wochenansicht — Radio Helsinki - Freies Radio Graz</title> </head> <body> <div id="content-main" class="week-schedule"> <div id="weekday-starts"> </div> <div id="monday" class="weekday"> <h2>{{ monday|date:"l d.m.Y" }}</h2> {% for timeslot in monday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> <div id="tuesday" class="weekday"> <h2>{{ tuesday|date:"l d.m.Y" }}</h2> {% for timeslot in tuesday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> <div id="wednesday" class="weekday"> <h2>{{ wednesday|date:"l d.m.Y" }}</h2> {% for timeslot in wednesday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> <div id="thursday" class="weekday"> <h2>{{ thursday|date:"l d.m.Y" }}</h2> {% for timeslot in thursday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> <div id="friday" class="weekday"> <h2>{{ friday|date:"l d.m.Y" }}</h2> {% for timeslot in friday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> <div id="saturday" class="weekday"> <h2>{{ saturday|date:"l d.m.Y" }}</h2> {% for timeslot in saturday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> <div id="sunday" class="weekday"> <h2>{{ sunday|date:"l d.m.Y" }}</h2> {% for timeslot in sunday_timeslots %} {% if forloop.first and timeslot.start != timeslot.get_previous_by_start.end %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}"> <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a> </div> {% if timeslot.end != timeslot.get_next_by_start.start %} <div class="timeslot bf-{{ default_show.broadcastformat.slug }}"> {{ default_show.name }} </div> {% endif %} {% endfor %} </div> </div> </body> </html>