bornhack-website/program/templates/event_list.html

23 lines
730 B
HTML
Raw Normal View History

{% extends 'schedule_base.html' %}
2016-08-08 17:36:13 +00:00
{% block schedule_content %}
2016-08-08 17:36:13 +00:00
<p class="lead">
An alphabetical list of all talks, workshops, keynotes and other events
at BornHack 2016.
</p>
<div class="list-group">
{% for event in event_list %}
2016-08-08 17:50:35 +00:00
<a href="{% url 'schedule:event' slug=event.slug %}" class="list-group-item">
<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>
2016-08-08 17:36:13 +00:00
{{ event.title }}
</a>
{% if event.speakers.exists %}
by {{ event.speakers.all|join:", " }}
{% endif %}
2016-08-08 17:36:13 +00:00
{% endfor %}
</div>
2016-08-08 18:56:59 +00:00
{% endblock schedule_content %}