summaryrefslogtreecommitdiff
path: root/templates/program/boxes/recommendations.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/program/boxes/recommendations.html')
-rw-r--r--templates/program/boxes/recommendations.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/program/boxes/recommendations.html b/templates/program/boxes/recommendations.html
new file mode 100644
index 0000000..abcbe03
--- /dev/null
+++ b/templates/program/boxes/recommendations.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Recomendations box</title>
+ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ {% if recommendation_list %}
+ <dl id="recommendations" class="portlet program-recommendations">
+ <dt class="portletHeader">Programmhinweise</dt>
+ {% 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>
+ <p class="note-title"><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></p>
+ </dd>
+ {% endfor %}
+ </dl>
+ {% endif %}
+</body>
+</html>