summaryrefslogtreecommitdiff
path: root/helsinki/program/templates/program/timeslot_detail.html
blob: 04d56c24f51727f24969bd09dedc07e0d28990d2 (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
<html>
<head>
    <title>Timeslot detail: {{ timeslot }}</title>
    <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>

<div id="content-main" class="timeslot-detail">
    <h1 id="show-name">{{ timeslot.show.name }}</h1>

    {% if timeslot.show.short_description != 'FIXME' %}
    <div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div>
    {% endif %}

    <div id="abbrevs">
    {% for topic in timeslot.show.showtopic.all %}
        <span class="topic-abbrev">{{ topic.abbrev }}</span>
    {% endfor %}

    {% for information in timeslot.show.showinformation.all %}
        <span class="information-abbrev">{{ information.abbrev }}</span>
    {% endfor %}

    {% for focus in timeslot.show.musicfocus.all %}
        <span class="focus-abbrev">{{ focus.abbrev }}</span>
    {% endfor %}

        <span class="broadcastformat-abbrev">{{ timeslot.show.broadcastformat.abbrev }}</span>
    </div>

    <div id="programslots">
    {% for slot in timeslot.show.programslots.all %}
        <div class="programslot">{{ slot }}</div>
    {% endfor %}
    </div>

    <div id="broadcastformat">{{ timeslot.show.broadcastformat.format }}</div>

    <div id="hosts">
    {% for host in timeslot.show.hosts.all %}
        <div class="host"><a href="{% url host-detail host.id %}">{{ host }}</a></div>
    {% endfor %}
    </div>

    <div id="description">{{ timeslot.show.description|safe }}</div>

    <div id="note">
    {% if timeslot.note %}
        <div class="note">
            <div class="title">{{ timeslot.note.title }}</div>
            <div class="content">{{ timeslot.note.content|safe }}</div>
        </div>
    {% endif %}
    </div>
</div>

</body>
</html>