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

21 lines
609 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 BornHack 2016.
</p>
<div class="list-group">
{% for speaker in speaker_list %}
<a href="{% url 'speaker_detail' camp_slug=camp.slug slug=speaker.slug %}" class="list-group-item">
{{ speaker.name }} ({{ speaker.events.all.count }} event{{ speaker.events.all.count|pluralize }})
</a>
{% endfor %}
</div>
{% else %}
<h2>Speakers for {{ camp.title }} coming soon!</h2>
{% endif %}
{% endblock program_content %}