L10N modif + list_per_page
[auf_rh_dae.git] / project / rh / templates / rh / rapports / contrats.html
CommitLineData
f2d65e83 1{% extends 'rh/rapports/base.html' %}
f0f6b03e
OL
2{% load adminmedia rapports i18n change_list %}
3
4{% block extrastyle %}
dd18f6e3
DB
5 {{ block.super }}
6 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/admin_custom.css">
58348377
EMS
7{% endblock %}
8
9{% block extrahead %}
dd18f6e3
DB
10 <script type="text/javascript" src="/admin/jsi18n"></script>
11 <script type="text/javascript" src="{{ STATIC_URL }}/admin/js/core.js"></script>
5db1c5a3 12 <script type="text/javascript" src="{{ STATIC_URL }}admin/js/admin/RelatedObjectLookups.js"></script>
dd18f6e3 13 {{ block.super }}
f0f6b03e 14{% endblock %}
f2d65e83 15
dd18f6e3
DB
16{% block nomrapport %}
17 Rapport Contrats
18{% endblock %}
f2d65e83 19
dd18f6e3
DB
20{% block count_elements %}
21 <h2>{{ contrats.count }} contrats pour {{ count_employe }} employés</h2>
22{% endblock %}
8ee135b7 23
f2d65e83 24{% block contentrapport %}
f2d65e83 25<div id="changelist-filter">
dd18f6e3
DB
26 <h2>{% trans 'Filter' %}</h2>
27
28 {% filter_region_contrat %}
29 {% filter_implantation_contrat %}
30 {% filter_type_contrat %}
31 {% filter_echeance_contrat %}
32 {% filter_debut_contrat %}
33 {% filter_a_venir %}
f2d65e83
PP
34</div>
35
f0f6b03e
OL
36{% recherche_par_annees cl %}
37
5e46aab8 38<table id="result_list" class="results">
dd18f6e3
DB
39 <thead>
40 <tr>{% table_header headers %}</tr>
41 </thead>
42 {% spaceless %}
43 {% for contrat in contrats %}
44 <tr class="{% cycle 'row1' 'row2' %}">
45 <td style="text-align:right">
e4fa851f 46 {{ contrat.dossier.employe.id|stringformat:"d" }}
dd18f6e3
DB
47 </td>
48 <td>{{ contrat.dossier.employe.nom|upper }} {{ contrat.dossier.employe.prenom|title }}</td>
d50a5e5d 49 <td>
5db1c5a3
DB
50 {% with contrat.dossier as d %}
51 {% include 'rh/include/rapports_dossier_poste.html' %}
52 {% endwith %}
dd18f6e3
DB
53 </td>
54 <td>
5db1c5a3 55 {% include 'rh/include/rapports_contrat.html' %}
d50a5e5d
OL
56 </td>
57 <td>{{ contrat.date_debut }}</td>
58 <td>{{ contrat.date_fin|default:'' }}</td>
dd18f6e3
DB
59 <td>{{ contrat.dossier.get_statut_residence_display }}</td>
60 <td>{{ contrat.dossier.poste.implantation.region.nom }}</td>
61 <td>{{ contrat.dossier.poste.implantation.nom }}</td>
62 </tr>
63 {% endfor %}
64 {% endspaceless %}
f2d65e83 65</table>
f2d65e83 66{% endblock %}