summaryrefslogtreecommitdiff
path: root/helsinki.program/templates/program/day_schedule.html
blob: 62303148285d820f6265fc3da3f7ec57284170f9 (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
56
57
58
59
60
61
62
63
<html>
<head>
    <title>Day schedule: {{ day|date:"l, d.m.Y" }}</title>
    <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>

<body>

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

<div id="recommendations">
    <div id="recommendations-title">Programmhinweise</div>
    {% for recommendation in recommendations %}
    <div class="recommendation {{ recommendation.show.broadcastformat.slug }}">
        <div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }} - {{ recommendation.timeslot.end|date:"H:i" }}</div>
        <div class="show-name"><a href="{%  url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></div>
        <div class="note-title"><a href="{%  url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div>
    </div>
    {% endfor %}
</div>

<div id="day-schedule">
    <div id="title">Tagesansicht</div>
    <div id="date">{{ day|date:"l, d.m.Y" }}</div>
    <div id="timeslots">
    {% for timeslot in timeslots %}
    <div class="timeslot {{ timeslot.show.broadcastformat }}">
        <div class="start">{{ timeslot.start|date:"H:i" }}</div>
        <div class="show-abbrevs">&nbsp;
        {% for showinformation in timeslot.show.showinformation.all %}
            {{ showinformation.abbrev }}
        {% endfor %}
        {% for showtopic in timeslot.show.showtopic.all %}
            {{ showtopic.abbrev }}
        {% endfor %}
        {% for musicfocus in timeslot.show.musicfocus.all %}
            {{ musicfocus.abbrev }}
        {% endfor %}
        </div>
        <div class="show">
            <div class="name"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></div>
            {% if timeslot.note %}
            <div class="note-title">Heute: {{ timeslot.note.title }}</div>
            {% else %}
            <div class="short-description">{{ timeslot.show.short_description }}</div>
            {% endif %}
        </div>
    </div>
    {% endfor %}
    </div>
</div>

<div id="broadcastformats">
    <div id="broadcastformats-title">Legende</div>
    {% for broadcastformat in broadcastformats %}
    <div class="{{ broadcastformat.slug }}">
        <a href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
    </div>
    {% endfor %}
</div>

</body>
</html>