summaryrefslogtreecommitdiff
path: root/helsinki/program/templates
diff options
context:
space:
mode:
Diffstat (limited to 'helsinki/program/templates')
-rw-r--r--helsinki/program/templates/program/broadcastformats_box.html20
-rw-r--r--helsinki/program/templates/program/recommendations_box.html4
2 files changed, 22 insertions, 2 deletions
diff --git a/helsinki/program/templates/program/broadcastformats_box.html b/helsinki/program/templates/program/broadcastformats_box.html
new file mode 100644
index 0000000..13fb0a9
--- /dev/null
+++ b/helsinki/program/templates/program/broadcastformats_box.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Broadcast Formats</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ {% if broadcastformat_list %}
+ <dl id="bcformats" class="portlet program-bcformats">
+ <dt class="portletHeader"><span>Legende</span></dt>
+ {% for broadcastformat in broadcastformat_list %}
+ <dd class="portletItem bcformat bcformat-{{ broadcastformat.slug }}">
+ <a href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
+ </dd>
+ {% endfor %}
+ </dl>
+ {% endif %}
+</body>
+</html>
diff --git a/helsinki/program/templates/program/recommendations_box.html b/helsinki/program/templates/program/recommendations_box.html
index 5a0f40d..abcbe03 100644
--- a/helsinki/program/templates/program/recommendations_box.html
+++ b/helsinki/program/templates/program/recommendations_box.html
@@ -6,10 +6,10 @@
<link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
- {% if recommendations %}
+ {% if recommendation_list %}
<dl id="recommendations" class="portlet program-recommendations">
<dt class="portletHeader">Programmhinweise</dt>
- {% for recommendation in recommendations %}
+ {% for recommendation in recommendation_list %}
<dd class="portletItem program-recommendation {{ recommendation.show.broadcastformat.slug }}">
<h3 class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></h3>
<p class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}</p>