summaryrefslogtreecommitdiff
path: root/program/templates/week_schedule_timeslot.html
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2019-10-16 17:10:45 (GMT)
committerChristian Pointner <equinox@helsinki.at>2019-10-16 17:11:18 (GMT)
commit94f36b7affb7ce527205f616767fb21548a82007 (patch)
tree52e9cf244d12f50a7c1addd4f2f24a0453f1854c /program/templates/week_schedule_timeslot.html
parentddf7868b83e5317de871c267eeb477deeaa77b6e (diff)
fix rendering of week schedule
Diffstat (limited to 'program/templates/week_schedule_timeslot.html')
-rw-r--r--program/templates/week_schedule_timeslot.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/program/templates/week_schedule_timeslot.html b/program/templates/week_schedule_timeslot.html
index 8942327..a96f2bb 100644
--- a/program/templates/week_schedule_timeslot.html
+++ b/program/templates/week_schedule_timeslot.html
@@ -24,6 +24,13 @@
</div>
{% endif %}
+{% if forloop.first and timeslot.end != timeslot.get_next_by_start.start %}
+ <div class="timeslot bf-{{ default_show.broadcastformat.slug }}" {% duration timeslot.end timeslot.get_next_by_start.start %}>
+ <div>{{ default_show.name }}</div>
+ </div>
+{% endif %}
+
+
{% if not forloop.first and not forloop.last %}
<div class="timeslot bf-{{ timeslot.show.broadcastformat.slug }}" {% duration timeslot.start timeslot.end %}>
<div><a href="{% url "timeslot-detail" timeslot.id %}">{{ timeslot.show.name }}</a></div>