diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 14:25:18 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 14:25:18 (GMT) |
commit | c2ec66c87e1cc650b0ae5f776173d1795cf1a558 (patch) | |
tree | 2ebe1f9f175059d97314dfbebec9c8dbac2053d9 /templates/program/recommendations.html | |
parent | 8c8b20d8b5a882f816605192a675b2c838252c2c (diff) |
cleaned-up templates.
Diffstat (limited to 'templates/program/recommendations.html')
-rw-r--r-- | templates/program/recommendations.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/templates/program/recommendations.html b/templates/program/recommendations.html index aa5866a..a8f5fde 100644 --- a/templates/program/recommendations.html +++ b/templates/program/recommendations.html @@ -1,18 +1,20 @@ <html> <head> <title>Recomendations</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">{{ note.title }}</div> - <div class="note-content">{{ note.content }}</div> +{% for recommendation in recommendations %} + <div class="recommendation"> + <div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m.Y 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> + {% if recommendation.show.short_description != 'FIXME' %} + <div class="show-short-description">{{ recommendation.show.short_description }}</div> + {% endif %} + <div class="note-title"><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div> + <div class="note-content">{{ recommendation.content|safe}}</div> </div> {% endfor %} </div> |