summaryrefslogtreecommitdiff
path: root/program/templates/host_detail.html
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-01-06 19:03:56 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-01-06 19:03:56 (GMT)
commitc547dce30366b3a6097008086cbc0b917c6a2f85 (patch)
tree95ab3a86af602f6574180d1c74479c5a2c0c3b40 /program/templates/host_detail.html
parent1471381dfe74411934ec51f88bb5c4e7e47f2c36 (diff)
formated templates and updated templatetags
Diffstat (limited to 'program/templates/host_detail.html')
-rw-r--r--program/templates/host_detail.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/program/templates/host_detail.html b/program/templates/host_detail.html
index 3d8e862..73182d6 100644
--- a/program/templates/host_detail.html
+++ b/program/templates/host_detail.html
@@ -9,22 +9,22 @@
<div id="shows">
<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 %}
+ {% 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 %}
+ {% endfor %}
</div>
{% if host.email %}
- <div id="email">E-Mail Adresse: <a href="{{ host.email }}">{{ host.email }}</a></div>
+ <div id="email">E-Mail Adresse: <a href="{{ host.email }}">{{ host.email }}</a></div>
{% endif %}
{% if host.website %}
- <div id="website">Website: <a href="{{ host.website }}">{{ host.website }}</a></div>
+ <div id="website">Website: <a href="{{ host.website }}">{{ host.website }}</a></div>
{% endif %}
</div>