summaryrefslogtreecommitdiff
path: root/helsinki/program/templates
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-04-11 10:49:35 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-04-11 10:49:35 (GMT)
commit1eac93fabf853226cb0218cedec09106470a543b (patch)
tree6410790dbc38bd468ec7e266e3c7e191d1f48fa7 /helsinki/program/templates
parent720b0eca80ed449c07ae6c779e3420cdeb76ee6c (diff)
parentbb852483864a5c1be8cd99d2e05a3b1fc0ce0d5c (diff)
merge and updates
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>