Revision a12cecdd
Added by Mikaël Ates about 12 years ago
calebasse/personnes/templates/personnes/holidays.html | ||
---|---|---|
8 | 8 |
{% endblock %} |
9 | 9 |
|
10 | 10 |
{% block content %} |
11 |
<h3>Absences de groupe</h3> |
|
12 |
<p> |
|
13 |
<a href="groupe/">Gestion des absences de groupe</a> |
|
14 |
</p> |
|
15 |
{% if group_holidays %} |
|
16 |
<ul> |
|
17 |
{% for holiday in group_holidays %} |
|
18 |
<li>{{ holiday|capfirst }}</li> |
|
19 |
{% endfor %} |
|
20 |
</ul> |
|
21 |
{% endif %} |
|
22 |
|
|
23 |
<h3>Affichage interactif</h3> |
|
24 |
|
|
25 |
<form> |
|
26 |
{{ search_form.non_field_errors }} |
|
27 |
{{ search_form.start_date.errors }} |
|
28 |
{{ search_form.end_date.errors }} |
|
29 |
<p>Afficher la liste des absences pris entre |
|
30 |
<span id="start-date-datepicker" data-number-of-months="3" data-before-selector="#end-date-datepicker" class="datepicker">{{ search_form.start_date }}</span> |
|
31 |
et |
|
32 |
<span id="end-date-datepicker" class="datepicker" data-number-of-months="3" data-after-selector="#start-date-datepicker">{{ search_form.end_date }}</span> |
|
33 |
<button class="enable-on-change">Valider</button> |
|
34 |
<button class="reset">Effacer</button> |
|
35 |
</p> |
|
36 |
</form> |
|
37 |
|
|
11 | 38 |
<h3>Absences en cours et à venir</h3> |
12 | 39 |
|
13 | 40 |
{% if current_holidays %} |
... | ... | |
53 | 80 |
</table> |
54 | 81 |
{% endif %} |
55 | 82 |
|
56 |
<h3>Absences de groupe</h3> |
|
57 |
<p> |
|
58 |
<a href="groupe/">Gestion des absences de groupe</a> |
|
59 |
</p> |
|
60 |
{% if group_holidays %} |
|
61 |
<ul> |
|
62 |
{% for holiday in group_holidays %} |
|
63 |
<li>{{ holiday|capfirst }}</li> |
|
64 |
{% endfor %} |
|
65 |
</ul> |
|
66 |
{% endif %} |
|
67 |
|
|
68 |
<h3>Affichage interactif</h3> |
|
69 |
|
|
70 |
<form> |
|
71 |
{{ search_form.non_field_errors }} |
|
72 |
{{ search_form.start_date.errors }} |
|
73 |
{{ search_form.end_date.errors }} |
|
74 |
<p>Afficher la liste des absences pris entre |
|
75 |
<span id="start-date-datepicker" data-number-of-months="3" data-before-selector="#end-date-datepicker" class="datepicker">{{ search_form.start_date }}</span> |
|
76 |
et |
|
77 |
<span id="end-date-datepicker" class="datepicker" data-number-of-months="3" data-after-selector="#start-date-datepicker">{{ search_form.end_date }}</span> |
|
78 |
<button class="enable-on-change">Valider</button> |
|
79 |
<button class="reset">Effacer</button> |
|
80 |
</p> |
|
81 |
</form> |
|
82 | 83 |
{% endblock %} |
Also available in: Unified diff
personnes: reorder blocks on holiday page.