{% load lca2018_tags %} {% load lca2019_tags %} {% load waffle_tags %} {% for row in timetable %} {% if forloop.last %} {% else %} {% for slot in row.slots %}
{% if forloop.first %}

{{ row.time|date:"h:iA" }}–{{ row.end|date:"h:iA" }}

{% endif %} {% with slot.kind.label.lower as label %} {% if label == "talk" or label == "tutorial" %} {% if slot.content %}

{{ slot.content.title }}

{{ slot.content.speakers|join:", "}}

{% listlookup timetable.rooms forloop.counter0 as value %}

Theatre {{ value }}
ends {{ slot.end }}

{% endif %} {% else %}

{{ slot.kind.label }}

{% endif %} {% endwith %}
{% endfor %} {% endif %} {% endfor %}