Project

General

Profile

« Previous | Next » 

Revision 477e1b65

Added by Frédéric Péters over 12 years ago

agenda: fix service activity columns (#2085)

View differences:

calebasse/agenda/templates/agenda/service-activity.html
14 14

  
15 15
<table class="main" id="activity">
16 16
  <thead>
17
    <tr> <th>Heure</th> <th>Durée</th> <th>Patient</th> <th>Thérapeute(s)</th> <th>Acte</th> </tr>
17
    <tr> <th>Heure</th> <th>Libellé</th> <th>Type acte</th> <th>Thérapeute(s)</th> </tr>
18 18
  </thead>
19 19
  <tbody>
20 20
    {% for row_appointments in appointments_times %}
......
24 24
      {% if forloop.counter != 1 %}
25 25
      <tr>
26 26
        {% endif %}
27
        <td>{{ appointment.length }}</td>
28
        <td>{{ appointment.patient }}</td>
27
        <td {% if appointment.type == 2 %}colspan="2"{% endif %}>{{ appointment.label }}</td>
28
        {% if appointment.type != 2 %}<td>{{ appointment.act }}</td>{% endif %}
29 29
        <td>{{ appointment.therapists }}</td>
30
        <td>{{ appointment.act }}</td>
31 30
      </tr>
32 31
      {% endfor %}
33 32
    </tr>

Also available in: Unified diff