[#3168] empl sans contrat affichage
[auf_rh_dae.git] / project / rh / templates / rh / rapports / employes_sans_contrat.html
CommitLineData
c8b22fd1
JPC
1{% extends 'rh/rapports/base.html' %}
2{% load adminmedia rapports i18n change_list %}
3
4{% block extrastyle %}
5<script type="text/javascript" src="/admin/jsi18n"></script>
6<script type="text/javascript" src="{{ STATIC_URL }}/admin/js/core.js"></script>
7{{ block.super }}
8{% endblock %}
9
10{% block nomrapport %}Rapport Contrats{% endblock %}
11
6b7cf654
DB
12{% block count_elements %}
13<h2>{{ count }} employés sans contrat</h2>
14{% endblock %}
c8b22fd1
JPC
15
16{% block contentrapport %}
c8b22fd1 17<div id="changelist-filter">
6b7cf654
DB
18 <h2>{% trans 'Filter' %}</h2>
19 {% filter_region_contrat %}
20 {% filter_implantation_contrat %}
c8b22fd1
JPC
21</div>
22
23<table id="result_list" class="results">
6b7cf654
DB
24 <thead>
25 <tr>{% table_header headers %}</tr>
26 </thead>
27 <tbody>
28 {% spaceless %}
29 {% for c in employes.values %}
30 <tr class="{% cycle 'row1' 'row2' %}">
31 <td>{{ c.employe.id }}</td>
32 <td>{{ c.employe.nom|upper }}</td>
33 <td>{{ c.employe.prenom }}</td>
34 <td>
7c5645f0 35 {% if c.dossiers|length > 1 %}
6b7cf654
DB
36 <ul>
37 {% for d in c.dossiers %}
7c5645f0 38 <li><a href="{% url admin:rh_dossier_change d.id %}">{{ d }}</a></li>
6b7cf654
DB
39 {% endfor %}
40 </ul>
7c5645f0 41 {% else %}
6b7cf654
DB
42 {% for d in c.dossiers %}
43 <a href="{% url admin:rh_dossier_change d.id %}">{{ d }}</a>
44 {% endfor %}
7c5645f0 45 {% endif %}
6b7cf654
DB
46 </td>
47 </tr>
48 {% endfor %}
49 {% endspaceless %}
50 </tbody>
c8b22fd1 51</table>
c8b22fd1 52{% endblock %}