summaryrefslogtreecommitdiff
path: root/templates/program/day_schedule.html
blob: 2d20bdf53fbd88fa6afac5d1fea6a18af687c9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<html>
<head>
    <title>Day schedule</title>
</head>

<body>

<div id="calendar"></div>

<div id="recommendations">
    {% for recommendation in recommendations %}
    <div>{{ recommendation.timeslot.start|date:"H:i" }}</div>
    <div>{{ recommendation.timeslot.programslot.show.name }}</div>
    <div><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div>
    {% endfor %}
</div>

<div>
    {% for timeslot in timeslots %}
    <div>
        <span class="time">{{ timeslot.start|date:"H:i" }}</span>
        <span class="abbrev">
            {% for showinformation in timeslot.programslot.show.showinformation.all %}
                {{ showinformation.abbrev }}
            {% endfor %}
        </span>
        <span class="abbrev">
            {% for showtopic in timeslot.programslot.show.showtopic.all %}
                {{ showtopic.abbrev }}
            {% endfor %}
        </span>
        <span class="abbrev">
            {% for musicfocus in timeslot.programslot.show.musicfocus.all %}
                {{ musicfocus.abbrev }}
            {% endfor %}
        </span>
        <span class="timeslot">
            <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show }}</a>
            {% if timeslot.note %}
            <span>Heute: {{ timeslot.note.title }}</span>
        {% endif %}
    </span>
    {% endfor %}
</div>

<div>
    {% for broadcastformat in broadcastformats %}
    <div>
        {{ broadcastformat }}
    </div>
    {% endfor %}
</div>

</body>
</html>