summaryrefslogtreecommitdiff
path: root/program/templates/host_detail.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net>2016-08-20 19:26:06 (GMT)
committerErnesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net>2016-08-20 19:29:55 (GMT)
commit5288ea2ed358828635c7a9bbfc691a7b007cf5f6 (patch)
treea4a5b4dd52126dc3d9610457f22448e1aebbc13c /program/templates/host_detail.html
parent4d830b21886e27e0a1b409cf5b40c78cd96c3d73 (diff)
display only active shows of a host.
Diffstat (limited to 'program/templates/host_detail.html')
-rw-r--r--program/templates/host_detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/templates/host_detail.html b/program/templates/host_detail.html
index 87a4c12..e7aad16 100644
--- a/program/templates/host_detail.html
+++ b/program/templates/host_detail.html
@@ -9,8 +9,8 @@
<div id="shows">
<div id="shows-title">Sendungen</div>
- {% for show in host.shows.all %}
- <div class="show {{ show.broadcastformat.slug }}">{{ show }}</div>
+ {% for show in host.active_shows %}
+ <div class="show {{ show.broadcastformat.slug }}"><a href="{% url "show-detail" show.slug %}"> {{ show.name }}</a></div>
{% endfor %}
</div>