bornhack-website/src/program/templates/speaker_list.html
Thomas Flummer 1c88ed8073
Added title blocks to templates that did not have one (#511)
In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page

Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
2020-06-03 21:30:10 +02:00

28 lines
848 B
HTML

{% extends 'program_base.html' %}
{% block title %}
Speakers and hosts at {{ camp.title }} | {{ block.super }}
{% endblock %}
{% block program_content %}
{% if speaker_list %}
<p class="lead">
An alphabetical list of all speakers, workshop hosts and other
event anchors at {{ camp.title }}.
</p>
<hr />
<div class="list-group">
{% for speaker in speaker_list %}
<a href="{% url 'program:speaker_detail' camp_slug=camp.slug slug=speaker.slug %}" class="list-group-item">
{{ speaker.name }} {% for event in speaker.events.all %}<i class="fas fa-{{ event.event_type.icon }} fa-lg" style="color: {{ event.event_type.color }};" data-toggle="tooltip" title="{{ event.title }}"></i> {% endfor %}</a>
{% endfor %}
</div>
{% else %}
<p class="lead">No speakers found for {{ camp.title }}</p>
{% endif %}
{% endblock program_content %}