diff options
-rw-r--r-- | templates/program/recommendations.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/program/recommendations.html b/templates/program/recommendations.html index cbcb463..270b134 100644 --- a/templates/program/recommendations.html +++ b/templates/program/recommendations.html @@ -10,7 +10,7 @@ {% for item in recommendation_list %} <div class="show recommendation bf-{{ item.show.broadcastformat.slug }}"> <div class="show-abbrevs"> - {% for item in show.showinformation.all %} + {% for item in item.show.showinformation.all %} <span title="{{item.information}}" class="abbrev si-{{ item.abbrev }}"><span>{{ item.abbrev }}</span></span> {% endfor %} {% for item in show.showtopic.all %} @@ -21,15 +21,13 @@ {% endfor %} </div> <div class="show-detail"> - <h3 class="show-title"><a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a></h3> + <h3 class="show-title"><a href="{% url show-detail item.show.slug %}">{{ item.show.name }}</a>: <a href="{% url timeslot-detail item.timeslot.id %}">{{ item.title }}</a></h3> <p class="timeslot-start-end">{{ item.timeslot.start|date:"d.m. H:i" }}-{{ item.timeslot.end|date:"H:i" }}</p> {% if item.show.short_description != 'FIXME' %} <p class="show-description">{{ item.show.short_description }}</p> {% endif %} - <h3 class="note-title"><a href="{% url timeslot-detail item.timeslot.id %}">{{ item.title }}</a></h3> - <p class="note-content">{{ item.content|safe}}</p> </div> |