diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 18:06:25 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 18:06:25 (GMT) |
commit | cd517b9452f7ecd995c8e85056bc4438185a4848 (patch) | |
tree | 218fcfa965eef9b868e565a10027e2569a7820af /templates/program | |
parent | 9b09c2ce17bbdd65a210b41f983ff8b6702d2545 (diff) |
renamed variables to match context of generic views.
Diffstat (limited to 'templates/program')
-rw-r--r-- | templates/program/host_list.html | 2 | ||||
-rw-r--r-- | templates/program/recommendations.html | 2 | ||||
-rw-r--r-- | templates/program/recommendations_box.html | 2 | ||||
-rw-r--r-- | templates/program/show_list.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/program/host_list.html b/templates/program/host_list.html index 6497d35..5ab5c3f 100644 --- a/templates/program/host_list.html +++ b/templates/program/host_list.html @@ -6,7 +6,7 @@ <body> <div id="host-list"> -{% for host in hosts %} +{% for host in host_list %} <div class="host"> <a href="{% url host-detail host.id %}">{{ host.name }}</a> </div> diff --git a/templates/program/recommendations.html b/templates/program/recommendations.html index a8f5fde..483962c 100644 --- a/templates/program/recommendations.html +++ b/templates/program/recommendations.html @@ -6,7 +6,7 @@ <body> <div id="recommendations"> -{% for recommendation in recommendations %} +{% for recommendation in recommendation_list %} <div class="recommendation"> <div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m.Y H:i" }} - {{ recommendation.timeslot.end|date:"H:i" }}</div> <div class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></div> diff --git a/templates/program/recommendations_box.html b/templates/program/recommendations_box.html index b40bf0e..26a7c97 100644 --- a/templates/program/recommendations_box.html +++ b/templates/program/recommendations_box.html @@ -7,7 +7,7 @@ <div id="recommendations-box"> <div id="recommendations-title">Programmhinweise</div> - {% for recommendation in recommendations %} + {% for recommendation in recommendation_list %} <div class="recommendation {{ recommendation.show.broadcastformat.slug }}"> <div class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}</div> <div class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></div> diff --git a/templates/program/show_list.html b/templates/program/show_list.html index 1f061d0..9539035 100644 --- a/templates/program/show_list.html +++ b/templates/program/show_list.html @@ -40,7 +40,7 @@ </div> <div id="shows"> -{% for show in shows %} +{% for show in show_list %} <div class="show"> <div class="abbrevs"> {% for topic in show.showtopic.all %} |