bornhack-website/src/program/templates/speaker_list.html

24 lines
755 B
HTML

{% extends 'program_base.html' %}
{% 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 %}