diff options
author | Ernesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net> | 2016-08-17 17:00:51 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net> | 2016-08-17 17:00:51 (GMT) |
commit | 8cc0a1dae3ded38934e2f33e169e01d101d1b577 (patch) | |
tree | 48f5a3c1d1ed52eaede8869398196645517452a3 /program/templates | |
parent | 6990ff7f88f827d7193cb5ddef0be22546bccd23 (diff) |
removed is_active from Host, Show and ProgramSlot.
Diffstat (limited to 'program/templates')
-rw-r--r-- | program/templates/host_detail.html | 7 | ||||
-rw-r--r-- | program/templates/show_detail.html | 4 | ||||
-rw-r--r-- | program/templates/show_list.html | 4 |
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> |