summaryrefslogtreecommitdiff
path: root/templates/program/recommendations.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-12 15:14:15 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-12 15:14:15 (GMT)
commit3e1c4f43fb5ea31d729f92a1bc71b622c2531ab2 (patch)
tree756406f791b2ca8915e39701e534fa19a27b7539 /templates/program/recommendations.html
parent235719f0621b5e36d877d76cfaf40cdb43033a6e (diff)
renamed model attributes to be more consistent, updated templates accordingly. added recommendations view and template.
Diffstat (limited to 'templates/program/recommendations.html')
-rw-r--r--templates/program/recommendations.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/program/recommendations.html b/templates/program/recommendations.html
new file mode 100644
index 0000000..499fe4e
--- /dev/null
+++ b/templates/program/recommendations.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+ <title>Recomendations</title>
+</head>
+<body>
+
+<div id="recommendations">
+{% for note in recommendation_list %}
+ <div class="show">
+ <div class="broadcast-format">{{ note.show.broadcastformat }}</div>
+ <div class="time-slot">{{ 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>
+{% endfor %}
+</div>
+
+</body>
+</html> \ No newline at end of file