From ebe0e7f70a487b217cbb84d093d17e0e9220bd39 Mon Sep 17 00:00:00 2001
From: Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com>
Date: Fri, 25 Mar 2011 21:15:58 +0100
Subject: cleaned-up template.


diff --git a/templates/program/recommendations_box.html b/templates/program/recommendations_box.html
index d0ced36..94a55dd 100644
--- a/templates/program/recommendations_box.html
+++ b/templates/program/recommendations_box.html
@@ -1,19 +1,19 @@
 <html>
 <head>
-    <title>Recomendations Box</title>
+    <title>Recomendations box</title>
+    <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
 </head>
 <body>
 
 <div id="recommendations">
-{% for note in recommendations %}
-    <div class="show">
-        <div class="broadcastformat">{{ note.show.broadcastformat }}</div>
-        <div class="timeslot">{{ note.timeslot.start }}</div>
-        <div class="show-name"><a href="{%  url show-detail note.show.slug %}">{{ note.show.name }}</a></div>
-        <div class="show-short-description">{{ note.show.short_description }}</div>
-        <div class="note-title"><a href="{%  url timeslot-detail note.timeslot.id %}">{{ note.title }}</a></div>
+    <div id="recommendations-title">Programmhinweise</div>
+    {% for recommendation in recommendations %}
+    <div class="recommendation {{ recommendation.show.broadcastformat.slug }}">
+        <div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}</div>
+        <div class="show-name"><a href="{%  url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></div>
+        <div class="note-title"><a href="{%  url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div>
     </div>
-{% endfor %}
+    {% endfor %}
 </div>
 
 </body>
-- 
cgit v0.10.2