2016-08-04 21:03:39 +00:00
|
|
|
{% extends 'program_base.html' %}
|
|
|
|
|
|
|
|
{% block program_content %}
|
2016-08-08 17:50:35 +00:00
|
|
|
<a href="{% url 'schedule:index' %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
|
2016-08-04 21:03:39 +00:00
|
|
|
All
|
|
|
|
</a>
|
2017-01-20 15:18:10 +00:00
|
|
|
{% for event_type in camp.event_types %}
|
|
|
|
<a href="{% url 'schedule_index' %}?type={{ event_type.slug }}" style="background-color: {{ event_type.color }}; border: 0; color: {% if event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
2016-08-04 21:03:39 +00:00
|
|
|
{{ event_type.name }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
{% for day, events in day_events.items %}
|
|
|
|
{{ day.date|date:"D d/m" }} <br />
|
|
|
|
<div style="display: flex; flex-wrap: wrap;">
|
|
|
|
{% for event in events %}
|
2016-08-07 13:49:30 +00:00
|
|
|
<a class="event"
|
2016-08-08 17:50:35 +00:00
|
|
|
href="{% url 'schedule:event' slug=event.slug %}"
|
2016-08-07 13:49:30 +00:00
|
|
|
style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %};">
|
2016-08-04 21:03:39 +00:00
|
|
|
<small>{{ event.start|date:"H:i" }} - {{ event.end|date:"H:i" }}</small>
|
2016-08-07 12:36:43 +00:00
|
|
|
<br />
|
2016-08-04 21:03:39 +00:00
|
|
|
{{ event }}
|
2016-08-08 22:48:56 +00:00
|
|
|
<br />
|
|
|
|
{% if event.speakers.exists %}
|
|
|
|
<i>by {{ event.speakers.all|join:", " }}
|
|
|
|
{% endif %}</i>
|
|
|
|
|
2016-08-07 13:49:30 +00:00
|
|
|
</a>
|
2016-08-04 21:03:39 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
{% endfor %}
|
|
|
|
|
2016-08-08 18:56:59 +00:00
|
|
|
{% endblock program_content %}
|