diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-25 20:15:58 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-25 20:15:58 (GMT) |
commit | ebe0e7f70a487b217cbb84d093d17e0e9220bd39 (patch) | |
tree | 3cfb0e8f8265e0af31d77c9ded9c795fa7cdac3a | |
parent | 8d68f6b534553e58be6957492e37e5671bfdb2af (diff) |
cleaned-up template.
-rw-r--r-- | templates/program/recommendations_box.html | 18 |
1 files changed, 9 insertions, 9 deletions
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> |