From 7cd62940c3c6ac6d75c18eec3c3294122818e58e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Mon, 17 Oct 2016 13:33:38 +0200 Subject: [PATCH] room list: indicate room with unscheduled talks --- planning/templates/planning/room_list.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/planning/templates/planning/room_list.html b/planning/templates/planning/room_list.html index d5ece9e..5be233b 100644 --- a/planning/templates/planning/room_list.html +++ b/planning/templates/planning/room_list.html @@ -21,7 +21,9 @@ {{ room.capacity }} {% trans "place" %}{{ room.capacity|pluralize }} {% if request|staff %} | + {{ room.talks.count }} {% trans "talk" %}{{ room.talks.count|pluralize }} + {% if request|orga %} | {% bootstrap_icon "pencil" %} @@ -37,3 +39,12 @@ {% endblock %} + +{% block js_end %} +{{ block.super }} + +{% endblock %}