Révision ee4ee326
Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 10 ans
calebasse/agenda/templates/agenda/ajax-ressource-tab.html | ||
---|---|---|
6 | 6 |
<h3 class="{{ appointment.type }} {% if appointment.act_absence %}act-absence{% endif %} appointment" |
7 | 7 |
{% if appointment.act_absence %}title="{{appointment.act_absence}}"{% endif %} id="{{ appointment.event_id }}"> |
8 | 8 |
<span class="hour">{{ appointment.begin_hour }}</span> |
9 |
{% if appointment.event_type %} — {{ appointment.event_type }} {% endif %} |
|
10 |
{% if appointment.title %} — {{ appointment.title }} {% endif %} |
|
11 |
{% if appointment.length %} — {{ appointment.length }}m {% endif %} |
|
12 |
{% if appointment.ressources_initial %} —{{ appointment.ressources_initial }} {% endif %} |
|
13 |
{% if appointment.act_type %} — {{ appointment.act_type }} {% endif %} |
|
14 |
{% if appointment.ressource %} — {{ appointment.ressource }} {% endif %} |
|
9 |
{% if appointment.title %}<span class="title">{{ appointment.title }}</span>{% endif %} |
|
10 |
{% if appointment.length %}<span class="length">{{ appointment.length }} mn</span> {% endif %} |
|
11 |
{% if appointment.act_type %}<span class="act_type">{{ appointment.act_type }}</span>{% endif %} |
|
12 |
<span class="participants"> |
|
13 |
{% if appointment.len_workers > 4 %} |
|
14 |
{% if appointment.workers_absent %}<span class="absent" title="Au moins un intervenant est absent">{% endif %} |
|
15 |
{{ appointment.len_workers }} inter. |
|
16 |
{% if appointment.workers_absent %}</span>{% endif %} |
|
17 |
{% else %} |
|
18 |
{% if appointment.workers %} |
|
19 |
{% for worker in appointment.workers %} |
|
20 |
{% if worker in appointment.workers_absent %}<span class="absent" title="Absent">{% endif %} |
|
21 |
{{ worker.worker.initials }}{% if not forloop.last %} {% endif %} |
|
22 |
{% if worker in appointment.workers_absent %}</span>{% endif %} |
|
23 |
{% endfor %} |
|
24 |
{% endif %} |
|
25 |
{% endif %} |
|
26 |
</span> |
|
27 |
|
|
15 | 28 |
<span class="right"> |
16 | 29 |
{% for service_name in appointment.other_services_names %} |
17 | 30 |
<span class="box {{ service_name }}" title="{{ service_name }}"></span> |
Formats disponibles : Unified diff
agenda: resources title bars informations updated: workers names displayed, each element place in appropriate container
old resources template removed
Closes #4232