Projet

Général

Profil

Télécharger (1,67 ko) Statistiques
| Branche: | Tag: | Révision:

calebasse / calebasse / dossiers / templates / dossiers / patientrecord_tab6_next_rdv.html @ feffc421

1
<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
    {% for event, state, missing_participants, inactive_participants in next_rdvs %}
8
    <tr>
9
      <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
      <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
        {% if participant in missing_participants %}
14
        <span class="absent" title="Absent">
15
          {{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
16
        </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
        {% 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>
(20-20/29)