Projet

Général

Profil

0001-templates-show-a-message-if-there-are-no-meeting-slo.patch

Frédéric Péters, 16 mai 2018 08:42

Télécharger (1 ko)

Voir les différences:

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(+)
templates/qommon/forms/widgets/select--meetings.html
14 14
    {% endwith %}
15 15
  {% endfor %}
16 16
</select>
17
{% if widget.has_valid_options %}
17 18
<div id="form_{{widget.name}}_table" class="meetings_table">
18 19
</div>
20
{% else %}
21
<div class="warningnotice">
22
  Il n'y a actuellement pas de créneaux disponibles.
23
</div>
24
{% endif %}
19 25
<script>
20 26
$(function() {
21 27
  var options = $('#form_{{widget.name}} option');
22
-