room: talks count

This commit is contained in:
Élie Bouttier 2016-10-11 19:52:50 +02:00
parent 4c7535e939
commit cd930cb9de

View File

@ -21,6 +21,8 @@
{{ room.capacity }} {% trans "place" %}{{ room.capacity|pluralize }} {{ room.capacity }} {% trans "place" %}{{ room.capacity|pluralize }}
{% if request|staff %} {% if request|staff %}
| |
{{ room.talk_set.count }} {% trans "talk" %}{{ room.talk_set.count|pluralize }}
|
<a href="{% url 'edit-room' room.slug %}">{% bootstrap_icon "pencil" %}</a> <a href="{% url 'edit-room' room.slug %}">{% bootstrap_icon "pencil" %}</a>
{% endif %} {% endif %}
</p> </p>