more schedule styling

This commit is contained in:
Thomas Steen Rasmussen 2016-08-08 21:01:38 +02:00
parent dfa9708102
commit c20e1e55cc

View file

@ -9,8 +9,8 @@
<div class="list-group"> <div class="list-group">
{% for speaker in speaker_list %} {% for speaker in speaker_list %}
<a href="{% url 'schedule:speaker_detail' slug=speaker.slug %}" class="list-group-item"> <a href="{% url 'schedule:speaker_detail' slug=speaker.slug %}" class="list-group-item">
{{ speaker.name }} {{ speaker.name }} ({{ speaker.events.all.count }} event{{ speaker.events.all.count|pluralize }})
</a> ({{ speaker.events.all.count }} event{{ speaker.events.all.count|pluralize }}) </a>
{% endfor %} {% endfor %}
</div> </div>
{% endblock schedule_content %} {% endblock schedule_content %}