summaryrefslogtreecommitdiff
path: root/helsinki/program/templates/program/timeslot_detail.html
blob: f8dee29b3ac345131afeb797a1fc3f1340600b1a (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="timeslot-detail">
    <div id="show-name">{{ timeslot.show.name }}</div>

    <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>

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

    <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>