summaryrefslogtreecommitdiff
path: root/templates/program/show_detail.html
blob: 61735e68da3edda012cbe7f9261b00f7cfeabcf3 (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>Sendung: {{ show.name }} &mdash; Radio Helsinki - Freies Radio Graz</title>
</head>
<body>

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

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

  <div class="show-detail-header bf-{{show.broadcastformat.slug}}">
      <h1 id="name">{{ show.name }}</h1>
      <p id="programslots">
      {% for slot in show.programslots.all %}
        <span class="programslot">{{ slot }}</span><br />
      {% endfor %}
      </p>

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

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

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

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

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

</div>

</body>
</html>