diff options
author | Ernesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net> | 2016-08-20 19:26:06 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net> | 2016-08-20 19:29:55 (GMT) |
commit | 5288ea2ed358828635c7a9bbfc691a7b007cf5f6 (patch) | |
tree | a4a5b4dd52126dc3d9610457f22448e1aebbc13c | |
parent | 4d830b21886e27e0a1b409cf5b40c78cd96c3d73 (diff) |
display only active shows of a host.
-rw-r--r-- | program/templates/host_detail.html | 4 |
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> |