diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/program/recommendations.html | 9 | ||||
-rw-r--r-- | templates/program/recommendations_box.html | 20 |
2 files changed, 25 insertions, 4 deletions
diff --git a/templates/program/recommendations.html b/templates/program/recommendations.html index 499fe4e..aa5866a 100644 --- a/templates/program/recommendations.html +++ b/templates/program/recommendations.html @@ -5,13 +5,14 @@ <body> <div id="recommendations"> -{% for note in recommendation_list %} +{% for note in recommendations %} <div class="show"> - <div class="broadcast-format">{{ note.show.broadcastformat }}</div> - <div class="time-slot">{{ note.timeslot.start }}</div> + <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 class="note-title">{{ note.title }}</div> + <div class="note-content">{{ note.content }}</div> </div> {% endfor %} </div> diff --git a/templates/program/recommendations_box.html b/templates/program/recommendations_box.html new file mode 100644 index 0000000..d0ced36 --- /dev/null +++ b/templates/program/recommendations_box.html @@ -0,0 +1,20 @@ +<html> +<head> + <title>Recomendations Box</title> +</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> +{% endfor %} +</div> + +</body> +</html>
\ No newline at end of file |