From e3c15308ba49d3133aa2a62cc9deb305690414c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 16 May 2018 08:41:28 +0200 Subject: [PATCH] templates: show a message if there are no meeting slot available (#23212) --- templates/qommon/forms/widgets/select--meetings.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/qommon/forms/widgets/select--meetings.html b/templates/qommon/forms/widgets/select--meetings.html index 3460073..d095f82 100644 --- a/templates/qommon/forms/widgets/select--meetings.html +++ b/templates/qommon/forms/widgets/select--meetings.html @@ -14,8 +14,14 @@ {% endwith %} {% endfor %} +{% if widget.has_valid_options %}
+{% else %} +
+ Il n'y a actuellement pas de créneaux disponibles. +
+{% endif %}