summaryrefslogtreecommitdiff
path: root/program/templates/host_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'program/templates/host_detail.html')
-rw-r--r--program/templates/host_detail.html4
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>