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

25 lines
774 B
HTML
Raw Normal View History

{% extends 'program_base.html' %}
2016-08-08 17:36:13 +00:00
{% block program_content %}
2017-04-09 15:49:44 +00:00
{% 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
<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>
{% endif %}
2017-04-09 15:49:44 +00:00
<p><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</span></a></p>
{% endblock program_content %}