diff options
Diffstat (limited to 'program/templates/host_detail.html')
-rw-r--r-- | program/templates/host_detail.html | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/program/templates/host_detail.html b/program/templates/host_detail.html index 73182d6..e7aad16 100644 --- a/program/templates/host_detail.html +++ b/program/templates/host_detail.html @@ -9,13 +9,8 @@ <div id="shows"> <div id="shows-title">Sendungen</div> - {% for show in host.shows.all %} - {% if show.is_active %} - <div class="show {{ show.broadcastformat.slug }}"><a - href="{% url "show-detail" show.slug %}">{{ show }}</a></div> - {% else %} - <div class="show {{ show.broadcastformat.slug }}">{{ show }}</div> - {% endif %} + {% 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> |