diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-10 14:59:10 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-10 14:59:10 (GMT) |
commit | 055afc7d47fcd147274dba884156523d8ff69bbf (patch) | |
tree | ea5991a616a14683a7e1e466fc34c28840aad202 | |
parent | bf002915e8ef950419f9cc64cb2b2946e03d8193 (diff) |
fixed another context name object problem.
-rw-r--r-- | helsinki/program/templates/program/recommendations_box.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helsinki/program/templates/program/recommendations_box.html b/helsinki/program/templates/program/recommendations_box.html index 5a0f40d..abcbe03 100644 --- a/helsinki/program/templates/program/recommendations_box.html +++ b/helsinki/program/templates/program/recommendations_box.html @@ -6,10 +6,10 @@ <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body> - {% if recommendations %} + {% if recommendation_list %} <dl id="recommendations" class="portlet program-recommendations"> <dt class="portletHeader">Programmhinweise</dt> - {% for recommendation in recommendations %} + {% for recommendation in recommendation_list %} <dd class="portletItem program-recommendation {{ recommendation.show.broadcastformat.slug }}"> <h3 class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></h3> <p class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}</p> |