2016-08-08 18:41:54 +00:00
|
|
|
{% extends 'schedule_base.html' %}
|
2016-08-08 17:45:32 +00:00
|
|
|
{% load commonmark %}
|
|
|
|
|
2016-08-08 18:54:03 +00:00
|
|
|
{% block schedule_content %}
|
2016-08-08 17:45:32 +00:00
|
|
|
|
|
|
|
<h3>{{ speaker.name }}</h3>
|
|
|
|
|
|
|
|
{{ speaker.biography|commonmark }}
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
{% if speaker.events.exists %}
|
2017-01-24 23:24:04 +00:00
|
|
|
{% for event in speaker.events.all %}
|
|
|
|
<h3>
|
|
|
|
<small style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
|
|
|
{{ event.event_type.name }}
|
|
|
|
</small>
|
|
|
|
<a href="{% url 'event_detail' camp_slug=camp.slug slug=event.slug %}">{{ event.title }}</a>
|
|
|
|
</h3>
|
|
|
|
{{ event.abstract|commonmark }}
|
|
|
|
|
|
|
|
<h4>Instances</h4>
|
|
|
|
<ul class="list-group">
|
|
|
|
{% for ei in event.instances.all %}
|
|
|
|
<li class="list-group-item">{{ ei.when.lower|date:"l M. d H:i" }} - {{ ei.when.upper|date:"H:i" }}</li>
|
|
|
|
{% empty %}
|
|
|
|
No instances scheduled yet
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</h4>
|
|
|
|
<hr>
|
|
|
|
{% empty %}
|
|
|
|
No events registered for this speaker yet
|
|
|
|
{% endfor %}
|
2016-08-08 23:02:54 +00:00
|
|
|
{% endif %}
|
2016-08-08 18:56:59 +00:00
|
|
|
{% endblock schedule_content %}
|