diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-13 18:53:29 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-13 18:53:29 (GMT) |
commit | 103a909a999ecb8e2bce2cf84e4ec39968223a53 (patch) | |
tree | e219a86a6b468b736a47f21061916b114be54427 /templates/program/boxes/recommendations.html | |
parent | ba41badf0171cd618034e4c9eb21893eaf1ccd90 (diff) |
getting real.
Diffstat (limited to 'templates/program/boxes/recommendations.html')
-rw-r--r-- | templates/program/boxes/recommendations.html | 22 |
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> |