2016-09-18 10:40:55 +00:00
|
|
|
{% extends "symposion/schedule/public_base.html" %}
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
{% load i18n %}
|
2017-09-27 13:46:13 +00:00
|
|
|
{% load lca2018_tags %}
|
2015-10-16 17:53:02 +00:00
|
|
|
{% load thumbnail %}
|
|
|
|
|
2016-09-18 10:40:55 +00:00
|
|
|
{% if speaker.photo %}
|
|
|
|
{% block header_inset_image %}{% speaker_photo speaker 512 as speaker_photo %}{{ speaker_photo }}{% endblock %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% block header_title %}{{ speaker.name }}{% endblock %}
|
|
|
|
|
|
|
|
{% block header_paragraph %}
|
|
|
|
{% endblock %}
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
{% block head_title %}{{ speaker.name }}{% endblock %}
|
|
|
|
|
2016-09-18 10:40:55 +00:00
|
|
|
{% block content %}
|
|
|
|
{% if speaker.user == request.user or request.user.is_staff %}
|
|
|
|
<p>
|
|
|
|
<a class="btn btn-default pull-right" href="{% url "speaker_edit" speaker.pk %}">Edit</a>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<h3>Biography</h3>
|
|
|
|
|
|
|
|
<div class="bio">{{ speaker.biography_html|safe }}</div>
|
|
|
|
|
|
|
|
<h3>Presentations</h3>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{% for presentation in presentations %}
|
|
|
|
<li>
|
|
|
|
<a href="{% url "schedule_presentation_detail" presentation.pk %}">{{ presentation.title }}</a>
|
|
|
|
{% if presentation.slot %}
|
|
|
|
–
|
|
|
|
{{ presentation.slot.day.date|date:"l" }}
|
|
|
|
{{ presentation.slot.start}}–{{ presentation.slot.end }}
|
|
|
|
in
|
|
|
|
{{ presentation.slot.rooms|join:", " }}
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% empty %}
|
|
|
|
<p>No presentations. This page is only visible to staff until there is a presentation.</p>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% endblock %}
|