2017-02-17 16:17:21 +00:00
|
|
|
{% extends 'program_base.html' %}
|
2016-08-07 13:50:37 +00:00
|
|
|
{% load commonmark %}
|
|
|
|
|
2017-02-17 16:17:21 +00:00
|
|
|
{% block program_content %}
|
2017-01-24 23:24:04 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading" ><span style="font-size: x-large"><span 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 }}</span> {{ event.title }}</span></div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<p>
|
|
|
|
{{ event.abstract|commonmark }}
|
2017-02-18 10:18:07 +00:00
|
|
|
</p>
|
2017-01-24 23:24:04 +00:00
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<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>
|
2017-02-18 10:18:07 +00:00
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2017-04-17 18:29:59 +00:00
|
|
|
{% if event.speakers.exists %}
|
2017-02-18 10:18:07 +00:00
|
|
|
<h4>Speakers</h4>
|
|
|
|
<div class="list-group">
|
2017-04-17 18:29:59 +00:00
|
|
|
{% for speaker in event.speakers.all %}
|
2017-02-18 10:18:07 +00:00
|
|
|
<h4><a href="{% url 'speaker_detail' camp_slug=camp.slug slug=speaker.slug %}" class="list-group-item">{{ speaker.name }}</a></h4>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2017-01-24 23:24:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-17 16:17:21 +00:00
|
|
|
{% endblock program_content %}
|
2017-01-24 23:24:04 +00:00
|
|
|
|