Schedule page: display verbose room names

This commit is contained in:
Tobias 2018-12-24 12:19:23 +13:00
parent 4ca3e76dd3
commit 96cbe2d7ee
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
<tr>
<th class="time">&nbsp;</th>
{% for room in timetable.rooms %}
<th>Theatre {{ room.name }}</th>
<th>{{ room.name }}</th>
{% endfor %}
</tr>
{% with timetable|day_has_tracks:timetable.day as has_tracks %}

View file

@ -17,7 +17,7 @@
<p><a href="{% url "schedule_presentation_detail" slot.content.pk %}">{{ slot.content.title }}</a></p>
<p>{{ slot.content.speakers|join:", "}}</p>
{% listlookup timetable.rooms forloop.counter0 as value %}
<p><em>Theatre {{ value }}<br />ends {{ slot.end }}</em></p>
<p><em>{{ value }}<br />ends {{ slot.end }}</em></p>
{% endif %}
{% else %}
<p>{{ slot.kind.label }}</p>