| 1 |
aa31cdc8
|
Jérôme Schneider
|
<div id="tabs-6">
|
| 2 |
|
|
<table class="basic">
|
| 3 |
|
|
<thead>
|
| 4 |
|
|
<tr> <th>Date</th> <th>Pointage</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th> </tr>
|
| 5 |
|
|
</thead>
|
| 6 |
|
|
<tbody>
|
| 7 |
bba85766
|
Serghei MIHAI
|
{% for event, state, missing_participants, inactive_participants in next_rdvs %}
|
| 8 |
aa31cdc8
|
Jérôme Schneider
|
<tr>
|
| 9 |
bba85766
|
Serghei MIHAI
|
<td>{% firstof event.start_datetime|date:"l d/m/y H:i"|title %}{% if missing_participants or inactive_participants %} <span title="Au moins un intervenant est absent ou ne fait plus partie du service" class="icon-warning-sign absent"></span>{% endif %}</td>
|
| 10 |
aa31cdc8
|
Jérôme Schneider
|
<td>{% if state %}{% if state.state_name != 'VALIDE' %}<strong>{% endif %}{{ state }}{% if state.state_name != 'VALIDE' %}</strong>{% endif %}{% else %}Non pointé.{% endif %}</td>
|
| 11 |
|
|
<td>{{ event.act_type }}</td>
|
| 12 |
|
|
<td class="width-limited">{% for participant in event.participants.all %}
|
| 13 |
bba85766
|
Serghei MIHAI
|
{% if participant in missing_participants %}
|
| 14 |
|
|
<span class="absent" title="Absent">
|
| 15 |
aa31cdc8
|
Jérôme Schneider
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
| 16 |
bba85766
|
Serghei MIHAI
|
</span>
|
| 17 |
|
|
{% elif participant in inactive_participants %}
|
| 18 |
|
|
<span class="inactive" title="Ne fait plus parti du service">
|
| 19 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
| 20 |
|
|
</span>
|
| 21 |
|
|
{% else %}
|
| 22 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
| 23 |
|
|
{% endif %}
|
| 24 |
aa31cdc8
|
Jérôme Schneider
|
{% endfor %}</td>
|
| 25 |
|
|
{% if event.act.id %}
|
| 26 |
|
|
<td class="width-limited">{{ event.act.comment }}</td>
|
| 27 |
|
|
{% else %}
|
| 28 |
|
|
<td class="width-limited">{{ event.description }}</td>
|
| 29 |
|
|
{% endif %}
|
| 30 |
|
|
</tr>
|
| 31 |
|
|
{% endfor %}
|
| 32 |
|
|
</tbody>
|
| 33 |
|
|
</table>
|
| 34 |
|
|
</div>
|