summaryrefslogtreecommitdiff
path: root/program/templates/recommendations.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 19:00:45 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 19:00:45 (GMT)
commit0c00f412dc5d8ccba552f3633993a4696e0d6b55 (patch)
treed299cb6bcb60dfc99ad70f1d8cfb100f8aea71a6 /program/templates/recommendations.html
parentabc439740a24c503b8756aa30c57281a4cf6ad31 (diff)
parentd4c75b4893bfcb28e300ff5e10dc9cd0993f8537 (diff)
Merge branch 'master' of https://github.com/nnrcschmdt/helsinki
Diffstat (limited to 'program/templates/recommendations.html')
-rw-r--r--program/templates/recommendations.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/program/templates/recommendations.html b/program/templates/recommendations.html
new file mode 100644
index 0000000..ba9a719
--- /dev/null
+++ b/program/templates/recommendations.html
@@ -0,0 +1,45 @@
+<html>
+<head>
+ <title>Tipps &mdash; Radio Helsinki - Freies Radio Graz</title>
+</head>
+<body>
+
+<div id="content-main" class="recommendations">
+ <h1>Programmhinweise</h1>
+ <div id="shows">
+{% for item in recommendation_list %}
+ <div class="show recommendation bf-{{ item.show.broadcastformat.slug }}">
+ <div class="show-abbrevs">
+ {% for ab in item.show.showinformation.all %}
+ <span title="{{ab.information}}" class="abbrev si-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span>
+ {% endfor %}
+ {% for ab in item.show.showtopic.all %}
+ <span title="{{ab.topic}}" class="abbrev st-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span>
+ {% endfor %}
+ {% for ab in item.show.musicfocus.all %}
+ <span title="{{ab.focus}}" class="abbrev mf-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span>
+ {% endfor %}
+ </div>
+ <div class="show-detail">
+ <h4>
+ <a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a><br />
+ vom {{ item.start|date:"d.m. H:i" }}-{{ item.end|date:"H:i" }}
+ </h4>
+ {% if item.note %}
+ <h3 class="show-title">
+ <a href="{% url timeslot-detail item.id %}">{{ item.note.title }}</a>
+ </h3>
+ <div class="note-content">{{ item.note.content|safe}}</div>
+ {% else %}
+ <h3 class="show-title">
+ <a href="{% url timeslot-detail item.id %}">{{ item.show.broadcastformat.format }}</a>
+ </h3>
+ {% endif %}
+ </div>
+ </div>
+{% endfor %}
+ </div>
+</div>
+
+</body>
+</html>