From 4aa0877b4f28bc188568e623af4348ee7cc20596 Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Mon, 21 Jul 2014 14:13:34 +0200 Subject: [PATCH] agenda: display the services list or "Tous" for group holidays instead of check icon Closes #4171 --- .../personnes/templates/personnes/group_holidays_list.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/calebasse/personnes/templates/personnes/group_holidays_list.html b/calebasse/personnes/templates/personnes/group_holidays_list.html index 4ae8adf..d33ebb1 100644 --- a/calebasse/personnes/templates/personnes/group_holidays_list.html +++ b/calebasse/personnes/templates/personnes/group_holidays_list.html @@ -40,7 +40,7 @@
  • Heure de début
  • Heure de fin
  • Type
  • -
  • Tous les services
  • +
  • Services
  • Commentaire
  • Actions
  • @@ -53,7 +53,13 @@
  • {% if object.start_time %}{{ object.start_time }}{% else %}---{% endif %}
  • {% if object.end_time %}{{ object.end_time }}{% else %} --- {% endif %}
  • {{ object.holiday_type }}
  • -
  • {% if object.for_all_services %}{% endif %}
  • +
  • + {% if object.for_all_services %}Tous{% else %} + {% for service in object.services.all %} +

    {{ service }}

    + {% endfor %} + {% endif %} +
  • {{ object.comment }}
  • -- 2.0.1