summaryrefslogtreecommitdiff
path: root/templates/program/show_detail.html
blob: 76144969ae6a99869b82dd10426e5dc8c6cc6419 (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>Show detail: {{ show.name }}</title>
</head>
<body>

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

<div id="content-main" class="show-detail">

    <h1 id="name">{{ show.name }}</h1>

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

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

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

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

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

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

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

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

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

    {% if show.email %}
    <div id="email"><a href="mailto:{{ show.email }}">{{ show.email }}</a></div>
    {% endif %}

    {% if show.website %}
    <div id="website"><a href="{{ show.website }}">{{ show.website }}</a></div>
    {% endif %}

    {% if show.cba_series_id %}
    <div id="cba-series-id"><a href="http://cba.fro.at/series/{{ show.cba_series_id }}">CBA</a></div>
    {% endif %}
</div>

</body>
</html>