2016-08-08 18:51:13 +00:00
|
|
|
{% extends 'schedule_base.html' %}
|
2016-08-07 13:50:37 +00:00
|
|
|
{% load commonmark %}
|
|
|
|
|
2016-08-08 18:51:13 +00:00
|
|
|
{% block schedule_content %}
|
2016-08-07 13:50:37 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
{{ event.title }}
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<h4>
|
2016-08-08 21:22:32 +00:00
|
|
|
{% if event.start and event.end and event.days.all.exists %}
|
|
|
|
{{ event.start|date:"H:i" }} - {{ event.end|date:"H:i" }} on
|
2016-08-07 13:50:37 +00:00
|
|
|
{% for day in event.days.all %}{{ day.date|date:"l" }}{% if not forloop.last %}, {% endif %}{% endfor %}<br />
|
2016-08-08 21:22:32 +00:00
|
|
|
{% else %}
|
|
|
|
Not scheduled yet
|
|
|
|
{% endif %}
|
2016-08-07 13:50:37 +00:00
|
|
|
</h4>
|
|
|
|
|
|
|
|
{{ event.abstract|commonmark }}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
{% if event.speakers.exists %}
|
|
|
|
{% for speaker in event.speakers.all %}
|
|
|
|
|
2017-01-22 11:59:57 +00:00
|
|
|
<h3><a href="{% url 'speaker_detail' camp_slug=camp.slug slug=speaker.slug %}">{{ speaker }}</a></h3>
|
2016-08-07 13:50:37 +00:00
|
|
|
{{ speaker.biography|commonmark }}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
2016-08-08 18:56:59 +00:00
|
|
|
{% endblock schedule_content %}
|