summaryrefslogtreecommitdiff
path: root/templates/program/current_box.html
blob: fd9cb69e68ecfa0b4d418d9a4c0850c47c2609ed (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
<html>
<head>
    <title>Current program box</title>
    <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

<div id="current">
    <div id="current-title">Programm derzeit</div>

    <div id="current-timeslot">
        <div class="start">{{ current.start|date:"H:i" }}</div>
        <div class="show {{ current.show.broadcastformat.slug }}">
            <div class="name"><a href="{% url timeslot-detail current.id %}">{{ current.show.name }}</a></div>
        {% if current.note %}
            <div class="note-title">{{ current.note.title }}</div>
        {% else %}
            {% if current.show.short_description != 'FIMXE' %}
                <div class="short-description">{{ current.show.short_description }}</div>
            {% endif %}
        {% endif %}
        </div>
    </div>

    <div id="next-timeslot">
        <div class="start">{{ next.start|date:"H:i" }}</div>
        <div class="show {{ next.show.broadcastformat.slug }}">
            <div class="name"><a href="{% url timeslot-detail next.id %}">{{ next.show.name }}</a></div>
        </div>
    </div>

    <div id="after-next-timeslot">
        <div class="start">{{ after_next.start|date:"H:i" }}</div>
        <div class="show {{ after_next.show.broadcastformat.slug }}">
            <div class="name"><a href="{% url timeslot-detail after_next.id %}">{{ after_next.show.name }}</div></a>
        </div>
    </div>
</div>

</body>
</html>