Show chair for session on main overview page

Plus keep it a link so opt out is not impossible.
This commit is contained in:
Sachi King 2018-01-24 15:26:12 +11:00
parent e41da66cac
commit ce32fd69b6

View file

@ -16,7 +16,7 @@
{% for room in timetable.rooms %}
{% with room|trackname:timetable.day as track_name %}
<th class="track-name">{% if track_name %}<p>{{ track_name }}{% endif %}</th>
{% endwith %}
{% endwith %}
{% endfor %}
</tr>
{% endif %}
@ -44,6 +44,8 @@
<em>Session chair:
{% if not session.chair %}
<a href="{% url "schedule_session_detail" session.id %}">Volunteer! 🙋</a>
{% else %}
<a href="{% url "schedule_session_detail" session.id %}">{{ session.chair.user.attendee.attendeeprofilebase.attendeeprofile.name }}</a>
{% endif %}</em>
{% endfor %}
</div>