Show chair for session on main overview page
Plus keep it a link so opt out is not impossible.
This commit is contained in:
parent
e41da66cac
commit
ce32fd69b6
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
{% for room in timetable.rooms %}
|
{% for room in timetable.rooms %}
|
||||||
{% with room|trackname:timetable.day as track_name %}
|
{% with room|trackname:timetable.day as track_name %}
|
||||||
<th class="track-name">{% if track_name %}<p>{{ track_name }}{% endif %}</th>
|
<th class="track-name">{% if track_name %}<p>{{ track_name }}{% endif %}</th>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -44,6 +44,8 @@
|
||||||
<em>Session chair:
|
<em>Session chair:
|
||||||
{% if not session.chair %}
|
{% if not session.chair %}
|
||||||
<a href="{% url "schedule_session_detail" session.id %}">Volunteer! 🙋</a>
|
<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>
|
{% endif %}</em>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue