Project

General

Profile

Download (1.1 KB) Statistics
| Branch: | Tag: | Revision:

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

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

    
3
{% block body-class %}{{ block.super }} no-left-column{% endblock %}
4

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

    
11
{% block agenda-content %}
12

    
13
<h2 class="print-only">Activité du service - {{ date|date:"DATE_FORMAT" }}</h2>
14

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

    
(11-11/13)