summaryrefslogtreecommitdiff
path: root/templates/program/day_schedule.html
blob: 88f743ecdab03b349025f46fe8b7a369f956f61e (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
<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>

{% load content_boxes %}
<div id="filter-format">
{% broadcastformat %}
</div>
<div id="filter-topic">
  <dl id="filter-header" class="portlet">
    <dt class="portletHeader"><span>Filter<span></dt>
  </dl>
{% musicfocus %}
{% showinformation %}
{% showtopic %}
</div>

<div id="content-main" class="day-schedule">
    <h2>Tagesansicht</h2>
    <h1 id="date">{{ day|date:"l, d.m.Y" }}</h1>

    <div id="timeslots">
    {% for timeslot in timeslots %}
    <div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}">
        <div class="show-start">{{ timeslot.start|date:"H:i" }}</div>
        <div class="show-abbrevs">
        {% for showinformation in timeslot.show.showinformation.all %}
            <span class="si-{{ showinformation.abbrev }}">{{ showinformation.abbrev }}</span>
        {% endfor %}
        {% for showtopic in timeslot.show.showtopic.all %}
            <span class="st-{{ showtopic.abbrev }}">{{ showtopic.abbrev }}</span>
        {% endfor %}
        {% for musicfocus in timeslot.show.musicfocus.all %}
            <span class="mf-{{ musicfocus.abbrev }}">{{ musicfocus.abbrev }}</span>
        {% endfor %}
        </div>
        <div class="show-detail">
            <h3 class="show-title"><a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show.name }}</a></h3>
            {% if timeslot.note %}
            <p class="note-title"><strong>Heute:</strong> {{ timeslot.note.title }}</p>
            {% else %}
                {% if timeslot.show.short_description != 'FIXME' %}
            <p class="show-description">{{ timeslot.show.short_description }}</p>
                {% endif %}
            {% endif %}
        </div>
    </div>
    {% endfor %}
    </div>
</div>


</body>
</html>