diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-05-01 21:43:18 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-05-01 21:43:18 (GMT) |
commit | bfcdf06fc0321f230fde9c542f793bd35dc6139b (patch) | |
tree | dae34c525ec17d70f4b759edbeb2521b41537b35 /program/templates/host_detail.html | |
parent | f2c4d866489a4aef845d7c422b98febf402472dc (diff) |
added always_visible to the Hosts and updated template and URLs
Diffstat (limited to 'program/templates/host_detail.html')
-rw-r--r-- | program/templates/host_detail.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/templates/host_detail.html b/program/templates/host_detail.html index bbe801e..3d8e862 100644 --- a/program/templates/host_detail.html +++ b/program/templates/host_detail.html @@ -11,7 +11,11 @@ <div id="shows-title">Sendungen</div> {% for show in host.shows.all %} + {% if show.has_active_programslots %} <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 %} {% endfor %} </div> |