Project

General

Profile

Download (977 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / agenda / templates / agenda / service-activity.html @ a5a20700

1
{% extends "agenda/base.html" %}
2

    
3
{% block appbar %}
4
<h2>Activité du service - {{ date|date:"DATE_FORMAT" }}</h2>
5
<a href="..">Retourner à l'agenda</a>
6
<button id='print-button'>Imprimer</button>
7
{% endblock %}
8

    
9
{% block agenda-content %}
10
<table class="main" id="activity">
11
  <thead>
12
    <tr> <th>Heure</th> <th>Durée</th> <th>Patient</th> <th>Thérapeute(s)</th> <th>Acte</th> </tr>
13
  </thead>
14
  <tbody>
15
    {% for row_appointments in appointments_times %}
16
    <tr class="hour-change">
17
      <td class="hour"  rowspan="{{ row_appointments.1.row }}">{{ row_appointments.0 }}</td>
18
      {% for appointment in row_appointments.1.appointments %}
19
      {% if forloop.counter != 1 %}
20
      <tr>
21
        {% endif %}
22
        <td>{{ appointment.length }}</td>
23
        <td>{{ appointment.patient }}</td>
24
        <td>{{ appointment.therapists }}</td>
25
        <td>{{ appointment.act }}</td>
26
      </tr>
27
      {% endfor %}
28
    </tr>
29
    {% endfor %}
30
  </tbody>
31
</table>
32
{% endblock %}
33

    
(8-8/8)