contrat échus
[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
12{% block count_elements %}<h2>{{ count }} contrats pour {{ count_employe }} employés</h2>{% endblock %}
13
14{% block contentrapport %}
15
16<div id="changelist-filter">
17<h2>{% trans 'Filter' %}</h2>
00c9d7c2
OL
18{% filter_region_contrat %}
19{% filter_implantation_contrat %}
c8b22fd1
JPC
20</div>
21
22<table id="result_list" class="results">
23<thead>
24<tr>
25 {% table_header headers %}
26</tr>
27</thead>
7c5645f0 28{% spaceless %}{% for c in employes.values %}
c8b22fd1
JPC
29<tr class="{% cycle 'row1' 'row2' %}">
30 <td>{{ c.employe.id }}</td>
31 <td>{{ c.employe.nom }}</td>
32 <td>{{ c.employe.prenom }}</td>
33 <td>
7c5645f0
JPC
34 {% if c.dossiers|length > 1 %}
35 <ul>
36 {% for d in c.dossiers %}
37 <li><a href="{% url admin:rh_dossier_change d.id %}">{{ d }}</a></li>
38 {% endfor %}
39 </ul>
40 {% else %}
41 {% for d in c.dossiers %}
42 <a href="{% url admin:rh_dossier_change d.id %}">{{ d }}</a>
43 {% endfor %}
44 {% endif %}
c8b22fd1
JPC
45 </td>
46</tr>
47{% endfor %}{% endspaceless %}
48</table>
49
50{% endblock %}