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

@ -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>