summaryrefslogtreecommitdiff
path: root/program/templates/timeslot_detail.html
blob: a3b62afd7bbc306fd6c6521b72e58c01ac820cb7 (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
64
65
66
67
68
<html>
<head>
    <title>Sendung: {{ timeslot }} &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

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

    <div class="show-detail-header bf-{{ timeslot.show.broadcastformat.slug }}">
        <h1 id="name">
            <a href="{% url "show-detail" timeslot.show.slug %}">{{ timeslot.show.name }}</a>
        </h1>
        {% if timeslot.note %}
            <h2>{{ timeslot.note.title }}</h2>
        {% endif %}
        <strong>Sendung am {{ timeslot.start|date:"d.m. H:i" }} bis {{ timeslot.end|date:"H:i" }}</strong>

        <div class="show-abbrevs">
            {% for si in timeslot.show.showinformation.all %}
                <span title="{{ si.information }}" class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span>
            {% endfor %}
            {% for st in timeslot.show.showtopic.all %}
                <span title="{{ st.topic }}" class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span>
            {% endfor %}
            {% for mf in timeslot.show.musicfocus.all %}
                <span title="{{ mf.focus }}" class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span>
            {% endfor %}
        </div>

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

    {% if timeslot.note %}
        <p class="timeslot-note">{{ timeslot.note.content|safe }}</p>
    {% endif %}

    <div id="short-description" class="documentDescription">{{ timeslot.show.short_description }}</div>

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

    <p>
        {% for host in timeslot.show.hosts.all %}
            <a href="{% url "host-detail" host.id %}">{{ host }}</a><br/>
        {% endfor %}
        {% if timeslot.show.email %}
            <strong>Email:</strong> <a href="mailto:{{ timeslot.show.email }}">{{ timeslot.show.email }}</a><br/>
        {% endif %}
        {% if timeslot.show.website %}
            <strong>Website:</strong> <a href="{{ timeslot.show.website }}">{{ timeslot.show.website }}</a><br/>
        {% endif %}
        {% if timeslot.show.cba_series_id %}
            <strong>CBA-Link:</strong> <a href="http://cba.fro.at/series/{{ timeslot.show.cba_series_id }}">CBA</a><br/>
        {% endif %}
    </p>

    {% load comments %}

    <div class="comments">
    {% render_comment_list for timeslot %}

    {% render_comment_form for timeslot %}
    </div>
</div>

</body>
</html>