2017-02-17 16:17:21 +00:00
|
|
|
{% extends 'program_base.html' %}
|
2016-08-08 17:45:32 +00:00
|
|
|
{% load commonmark %}
|
|
|
|
|
2017-02-17 16:17:21 +00:00
|
|
|
{% block program_content %}
|
2016-08-08 17:45:32 +00:00
|
|
|
|
2017-03-12 15:56:04 +00:00
|
|
|
<h3>{{ speaker.name }}</h3>
|
2016-08-08 17:45:32 +00:00
|
|
|
|
2017-02-19 18:44:46 +00:00
|
|
|
<div class="row">
|
2018-07-17 21:35:10 +00:00
|
|
|
<div class="col-md-12">
|
2018-06-03 14:29:28 +00:00
|
|
|
{{ speaker.biography|untrustedcommonmark }}
|
2017-02-19 18:44:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-08-08 17:45:32 +00:00
|
|
|
<hr />
|
|
|
|
|
2018-07-17 21:35:10 +00:00
|
|
|
<h4>URLs for {{ speaker.name }}</h4>
|
2018-07-17 20:43:16 +00:00
|
|
|
{% if speaker.urls.exists %}
|
|
|
|
{% for url in speaker.urls.all %}
|
|
|
|
<p><i class="{{ url.urltype.icon }}"></i> <b>{{ url.urltype }}</b>: <a href="{{ url.url }}" target="_blank" data-toggle="tooltip" title="{{ url.urltype }}">{{ url.url }}</a></p>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<p><i>No URLs found.</i></p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2016-08-08 17:45:32 +00:00
|
|
|
{% 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>
|
2018-05-20 16:16:20 +00:00
|
|
|
<a href="{% url 'program:event_detail' camp_slug=camp.slug slug=event.slug %}">{{ event.title }}</a>
|
2017-01-24 23:24:04 +00:00
|
|
|
</h3>
|
2018-06-03 14:29:28 +00:00
|
|
|
{{ event.abstract|untrustedcommonmark }}
|
2017-01-24 23:24:04 +00:00
|
|
|
|
2018-07-17 21:35:10 +00:00
|
|
|
<h4>Scheduled Instances of "{{ event.title }}"</h4>
|
2017-01-24 23:24:04 +00:00
|
|
|
<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>
|
|
|
|
<hr>
|
|
|
|
{% empty %}
|
|
|
|
No events registered for this speaker yet
|
|
|
|
{% endfor %}
|
2016-08-08 23:02:54 +00:00
|
|
|
{% endif %}
|
2017-02-17 16:17:21 +00:00
|
|
|
{% endblock program_content %}
|