Projet

Général

Profil

« Précédent | Suivant » 

Révision 9aa3425b

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

agenda: arrivals and departures design improvings

Closes #5466

Voir les différences:

calebasse/agenda/templates/agenda/ajax-worker-tab.html
7 7
      {% if appointment.act_absence %}title="{{appointment.act_absence}}"{% endif %}>
8 8
    <span class="hour">{{ appointment.begin_hour }}</span>
9 9
    <span class="length">{% if appointment.length %}{% if appointment.length|str_length_lt:3 %}&nbsp;{% endif %}{{ appointment.length }} min{% endif %}</span>
10
    <span class="title">{% if appointment.title %}{{ appointment.title }}{% endif %}
11
    {% if appointment.patient.paper_id %} {{ appointment.patient.paper_id }} {% endif %}</span>
10
    <span class="title">
11
      {% if appointment.title %}
12
      {{ appointment.title }}
13
      {% if appointment.timetable_type and appointment.other_services_names %}
14
      {% if appointment.timetable_type == 'arrival' %}
15
      dans le{{appointment.other_services_names|pluralize}}
16
      {% else %}
17
      d{{appointment.other_services_names|pluralize:'u,es'}}
18
      {% endif %}
19
      service{{ appointment.other_services_names|pluralize }}
20
      {% for service_name in appointment.other_services_names %}
21
      {{ service_name }}{% if not forloop.last %},{% endif %}
22
      {% endfor %}
23
      {% endif %}
24

  
25
      {% endif %}
26
      {% if appointment.patient.paper_id %}
27
      {{ appointment.patient.paper_id }}
28
      {% endif %}
29
    </span>
12 30
    <span class="participants">
13 31
    {% if appointment.len_workers > 4 %}
14 32
        {% if appointment.workers_absent %}<span class="absent" title="Au moins un intervenant est absent">{% endif %}
......
38 56
        {% if appointment.workers_absent %}
39 57
        <span title="Au moins un intervenant est absent" class="icon-warning-sign absent"></span>
40 58
        {% endif %}
59
        {% if appointment.timetable_type %}
60
        <span class="icon-{{ appointment.timetable_type }}"></span>
61
        {% else %}
41 62
        {% for service_name in appointment.other_services_names %}
42 63
        <span class="box {{ service_name }}" title="{{ service_name }}"></span>
43 64
        {% endfor %}
65
        {% endif %}
44 66
        <span title="Un commentaire existe" class="icon-comment" {% if appointment.description %}style='display: inline'{% endif %}></span>
45 67
        {% if appointment.event_id %}
46 68
        {% if appointment.is_recurrent %} R {% endif %}

Formats disponibles : Unified diff