Projet

Général

Profil

« Précédent | Suivant » 

Révision 63bc684f

Ajouté par Serghei Mihai il y a plus de 9 ans

agenda: template fix for displaying appointments summary

Closes #5023

Voir les différences:

calebasse/agenda/templates/agenda/agendas-therapeutes.html
62 62
        <tbody>
63 63
            {% for appointment in worker_agenda.appointments %}
64 64
            <tr data-event-id="{{ appointment.event_id }}">
65
                <td class="col-time">{{ appointment.begin_hour }}</td>
66
                {% if not CURRENT_SERVICE_EVENTS_ONLY and not appointment.holiday and appointment.type != 'info' and appointment.other_services_names  %}
65
                <td class="col-time">
66
                  {{ appointment.begin_hour }}
67
                </td>
68
                {% 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 %}
67 69
                <td colspan=8 class="col-record-id">
68 70
                  {% if appointment.event %}Evenement{% else %}Rendez-vous{% endif %}
69 71
                  {% with services=appointment.other_services_names|length %}

Formats disponibles : Unified diff