<html>
<head>
    <title>Week schedule</title>
</head>

<body>

<div id="content-main" class="week-schedule">

    <div id="weekday-starts">&nbsp;</div>
    <div id="monday" class="weekday">
        <h2>{{ monday|date:"l d.m.Y" }}</h2>
        {% for timeslot in monday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

    <div id="tuesday" class="weekday">
        <h2>{{ tuesday|date:"l d.m.Y" }}</h2>
        {% for timeslot in tuesday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

    <div id="wednesday" class="weekday">
        <h2>{{ wednesday|date:"l d.m.Y" }}</h2>
        {% for timeslot in wednesday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

    <div id="thursday" class="weekday">
        <h2>{{ thursday|date:"l d.m.Y" }}</h2>
        {% for timeslot in thursday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

    <div id="friday" class="weekday">
        <h2>{{ friday|date:"l d.m.Y" }}</h2>
        {% for timeslot in friday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

    <div id="saturday" class="weekday">
        <h2>{{ saturday|date:"l d.m.Y" }}</h2>
        {% for timeslot in saturday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>

    <div id="sunday" class="weekday">
        <h2>{{ sunday|date:"l d.m.Y" }}</h2>
        {% for timeslot in sunday_timeslots %}
        <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
          <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a>
        </div>
        {% endfor %}
    </div>
</div>

</body>
</html>