summaryrefslogtreecommitdiff
path: root/program/templates
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net>2016-08-17 17:00:51 (GMT)
committerErnesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net>2016-08-17 17:00:51 (GMT)
commit8cc0a1dae3ded38934e2f33e169e01d101d1b577 (patch)
tree48f5a3c1d1ed52eaede8869398196645517452a3 /program/templates
parent6990ff7f88f827d7193cb5ddef0be22546bccd23 (diff)
removed is_active from Host, Show and ProgramSlot.
Diffstat (limited to 'program/templates')
-rw-r--r--program/templates/host_detail.html7
-rw-r--r--program/templates/show_detail.html4
-rw-r--r--program/templates/show_list.html4
3 files changed, 3 insertions, 12 deletions
diff --git a/program/templates/host_detail.html b/program/templates/host_detail.html
index 73182d6..87a4c12 100644
--- a/program/templates/host_detail.html
+++ b/program/templates/host_detail.html
@@ -10,12 +10,7 @@
<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 %}
+ <div class="show {{ show.broadcastformat.slug }}">{{ show }}</div>
{% endfor %}
</div>
diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html
index 47d20a1..9fb9fb0 100644
--- a/program/templates/show_detail.html
+++ b/program/templates/show_detail.html
@@ -14,9 +14,7 @@
{% if show.id != 1 %}
<p id="programslots">
{% for slot in show.programslots.all %}
- {% if slot.is_active %}
- <span class="programslot">{{ slot }}</span><br/>
- {% endif %}
+ <span class="programslot">{{ slot }}</span><br/>
{% endfor %}
</p>
{% endif %}
diff --git a/program/templates/show_list.html b/program/templates/show_list.html
index 62594e9..96ea497 100644
--- a/program/templates/show_list.html
+++ b/program/templates/show_list.html
@@ -41,9 +41,7 @@
<h3 class="show-title"><a href="{% url "show-detail" show.slug %}">{{ show.name }}</a></h3>
<ul class="show-programslots">
{% for programslot in show.programslots.all %}
- {% if programslot.is_active %}
- <li class="show-programslot">{{ programslot }}</li>
- {% endif %}
+ <li class="show-programslot">{{ programslot }}</li>
{% endfor %}
</ul>
<p class="show-description">{{ show.short_description }}</p>