{% for room in timetable.rooms %} {% endfor %} {% for row in timetable %} {% for slot in row.slots %} {% endfor %} {% endfor %}
 {{ room.name }}
{{ row.time|date:"h:iA" }} {% if slot.kind.label == "talk" %} {% if not slot.content %} {% else %}
{{ slot.content.speaker }}
{% endif %} {% else %} {{ slot.kind.label }} {% endif %}