diff options
Diffstat (limited to 'program/templates/recommendations.html')
-rw-r--r-- | program/templates/recommendations.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/program/templates/recommendations.html b/program/templates/recommendations.html new file mode 100644 index 0000000..ba9a719 --- /dev/null +++ b/program/templates/recommendations.html @@ -0,0 +1,45 @@ +<html> +<head> + <title>Tipps — Radio Helsinki - Freies Radio Graz</title> +</head> +<body> + +<div id="content-main" class="recommendations"> + <h1>Programmhinweise</h1> + <div id="shows"> +{% for item in recommendation_list %} + <div class="show recommendation bf-{{ item.show.broadcastformat.slug }}"> + <div class="show-abbrevs"> + {% for ab in item.show.showinformation.all %} + <span title="{{ab.information}}" class="abbrev si-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span> + {% endfor %} + {% for ab in item.show.showtopic.all %} + <span title="{{ab.topic}}" class="abbrev st-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span> + {% endfor %} + {% for ab in item.show.musicfocus.all %} + <span title="{{ab.focus}}" class="abbrev mf-{{ ab.abbrev }}"><span>{{ ab.abbrev }}</span></span> + {% endfor %} + </div> + <div class="show-detail"> + <h4> + <a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a><br /> + vom {{ item.start|date:"d.m. H:i" }}-{{ item.end|date:"H:i" }} + </h4> + {% if item.note %} + <h3 class="show-title"> + <a href="{% url timeslot-detail item.id %}">{{ item.note.title }}</a> + </h3> + <div class="note-content">{{ item.note.content|safe}}</div> + {% else %} + <h3 class="show-title"> + <a href="{% url timeslot-detail item.id %}">{{ item.show.broadcastformat.format }}</a> + </h3> + {% endif %} + </div> + </div> +{% endfor %} + </div> +</div> + +</body> +</html> |