{% load lca2018_tags %} {% load waffle_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 %} {% if forloop.last %} {% else %} {% for slot in row.slots %} {% endfor %} {% endif %} {% endfor %}
 Theatre {{ room.name }}
 {% if track_name %}

{{ track_name }}{% endif %}

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

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

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

{% flag "session_chair" %} {% if slot.sessions %}
{% for session in slot.sessions.all %} Session chair: {% if not session.chair %} Volunteer! 🙋 {% else %} {{ session.chair.user.attendee.attendeeprofilebase.attendeeprofile.name }} {% endif %} {% endfor %}
{% endif %} {% endflag %} {% endif %} {% elif label == "shortbreak" %} {% else %} {% if slot.content_override %} {{ slot.content_override_html|safe }} {% else %}

{{ slot.kind.label }}

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