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

25 lines
853 B
HTML
Raw Normal View History

{% extends 'program_base.html' %}
2016-08-08 17:36:13 +00:00
{% block program_content %}
{% if speaker_list %}
2016-08-08 17:36:13 +00:00
<p class="lead">
An alphabetical list of all speakers, workshop hosts and other
2017-04-02 16:04:57 +00:00
event anchors at {{ camp.title }}.
2016-08-08 17:36:13 +00:00
</p>
2017-04-01 19:45:43 +00:00
<a href="{% url 'call_for_speakers' camp_slug=camp.slug %}" class="btn btn-primary"><span {% if not camp.call_for_speakers_open %}style="text-decoration: line-through;"{% endif %}>"Call for Speakers" for {{ camp.title }}</span></a>
<hr />
2016-08-08 17:36:13 +00:00
<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">
2016-08-08 19:01:38 +00:00
{{ speaker.name }} ({{ speaker.events.all.count }} event{{ speaker.events.all.count|pluralize }})
</a>
2016-08-08 17:36:13 +00:00
{% endfor %}
</div>
{% else %}
<h2>Speakers for {{ camp.title }} coming soon!</h2>
{% endif %}
{% endblock program_content %}