Add talk end times to mobile schedule

This commit is contained in:
Tobias 2018-12-08 19:27:02 +13:00
parent 15dc9d346a
commit b094aa5596

View file

@ -9,7 +9,7 @@
{% for slot in row.slots %} {% for slot in row.slots %}
<div class="mobile-slot my-3" style="border-bottom: 1px solid #CCD5C5;"> <div class="mobile-slot my-3" style="border-bottom: 1px solid #CCD5C5;">
{% if forloop.first %} {% if forloop.first %}
<h3>{{ row.time|date:"h:iA" }}</h3> <h3>{{ row.time|date:"h:iA" }}&ndash;{{ row.end|date:"h:iA" }}</h3>
{% endif %} {% endif %}
{% with slot.kind.label.lower as label %} {% with slot.kind.label.lower as label %}
{% if label == "talk" or label == "tutorial" %} {% if label == "talk" or label == "tutorial" %}