From 6388879711855747eb482c690f92bca389faf404 Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Fri, 29 Aug 2014 16:52:08 +0200 Subject: [PATCH] agenda: template fix for displaying appointments summary Closes #5023 --- calebasse/agenda/templates/agenda/agendas-therapeutes.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/calebasse/agenda/templates/agenda/agendas-therapeutes.html b/calebasse/agenda/templates/agenda/agendas-therapeutes.html index cc425b5..c2a93ae 100644 --- a/calebasse/agenda/templates/agenda/agendas-therapeutes.html +++ b/calebasse/agenda/templates/agenda/agendas-therapeutes.html @@ -62,8 +62,10 @@ {% for appointment in worker_agenda.appointments %} - {{ appointment.begin_hour }} - {% if not CURRENT_SERVICE_EVENTS_ONLY and not appointment.holiday and appointment.type != 'info' and appointment.other_services_names %} + + {{ appointment.begin_hour }} + + {% if not CURRENT_SERVICE_EVENTS_ONLY and not appointment.holiday and appointment.type != 'info' and appointment.services_names and service not in appointment.services_names %} {% if appointment.event %}Evenement{% else %}Rendez-vous{% endif %} {% with services=appointment.other_services_names|length %} -- 2.1.0