Add talk end times to schedule

This commit is contained in:
Tobias 2018-12-08 19:25:24 +13:00
parent 9c64a33fd2
commit 15dc9d346a

View file

@ -28,7 +28,7 @@
{% if forloop.last %} {% if forloop.last %}
{% else %} {% else %}
<tr class="calendar-row"> <tr class="calendar-row">
<td class="time"><p>{{ row.time|date:"h:iA" }}</p></td> <td class="time"><p>{{ row.time|date:"h:iA" }} <br />{{ row.end|date:"h:iA" }}</p></td>
{% for slot in row.slots %} {% for slot in row.slots %}
<td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{% if slot.rowspan > 1%}{{ slot.rowspan|add:-1 }}{% else %}1{% endif %}" > <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{% if slot.rowspan > 1%}{{ slot.rowspan|add:-1 }}{% else %}1{% endif %}" >
{% with slot.kind.label.lower as label %} {% with slot.kind.label.lower as label %}