{% load lca2018_tags %} {% for room in timetable.rooms %} {% endfor %} {% with timetable|day_has_tracks:timetable.day as has_tracks %} {% if has_tracks %} {% for room in timetable.rooms %} {% with room|trackname:timetable.day as track_name %} {% endwith %} {% endfor %} {% endif %} {% endwith %} {% for row in timetable %} {% for slot in row.slots %} {% endfor %} {% if forloop.last %} {% endif %} {% endfor %}
 {{ room.name }}
 {% if track_name %}

{{ track_name }}{% endif %}

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

{% if slot.kind.label == "talk" or slot.kind.label == "tutorial" %} {% if not slot.content %} {% else %} {{ slot.content.title }} {{ slot.content.speakers|join:", " }} {% if slot.sessions %}
{% for session in slot.sessions.all %} {% if not session.chair %}
Volunteer! 🙋 {% elif session.chair.user == request.user %}
(You are session chair) {% endif %} {% endfor %}
{% endif %} {% endif %} {% elif slot.kind.label == "shortbreak" %} {% else %} {% if slot.content_override %} {{ slot.content_override_html|safe }} {% else %} {{ slot.kind.label }} {% endif %} {% endif %} {% if "break" in slot.kind.label %} {% else %} {{ slot.rooms|join:", "}} {% endif %}