diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-23 18:02:14 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-23 18:02:14 (GMT) |
commit | 4590065b6ca9d7698c22277a4da1505486c8b637 (patch) | |
tree | 2a76ad1a0c1cced08fdcf2139f1e12796522b090 /pv/templates/program/show_detail.html | |
parent | c95ec9e6bea9e076bda3ae66c4b604f399f5ec86 (diff) |
moved things around.
Diffstat (limited to 'pv/templates/program/show_detail.html')
-rw-r--r-- | pv/templates/program/show_detail.html | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/pv/templates/program/show_detail.html b/pv/templates/program/show_detail.html new file mode 100644 index 0000000..c75b322 --- /dev/null +++ b/pv/templates/program/show_detail.html @@ -0,0 +1,78 @@ +<html> +<head> + <title>Sendung: {{ show.name }} — 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}}"> + <div class="show-details"> + <h1 id="name">{{ show.name }}</h1> + {% if show.id != 1 %} + <p id="programslots"> + {% for slot in show.programslots.all %} + {% if slot.has_active_timeslot %} + <span class="programslot">{{ slot }}</span><br /> + {% endif %} + {% endfor %} + </p> + {% endif %} + </div> + + <div class="show-categorization"> + <p id="broadcastformat">{{ show.broadcastformat.format }}</p> + {% 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> + + </div> + + <div id="short-description" class="documentDescription">{{ show.short_description }}</div> + + {% if show.description %} + <div id="description">{{ show.description|safe }}</div> + {% endif %} + + {% if show.image and show.image_enabled %} + <div id="image" style="float: right;"><img src="/program/static/{{ show.image }}" width="200" alt="image"></div> + {% endif %} + + <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> + + {% if show.notes.all %} + <br /> + <h2>Sendungstipps</h2> + <ul class="recommendations-list"> + {% for note in show.notes.all reversed %} + <li><a href="{% url timeslot-detail note.timeslot.id %}" title="{{ note.title }}">{{ note.start|date:"d. M Y" }}:</a> {{ note.title }}</li> + {% endfor %} + </ul> + {% endif %} + +</div> + +</body> +</html> |