d7b9c2d9227be49412f78139b9894a6defb7d606
[auf_rh_dae.git] / project / rh / templates / rh / rapports / employes_sans_contrat.html
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>
18 {% filter_region_dossier %}
19 {% filter_implantation_dossier %}
20 </div>
21
22 <table id="result_list" class="results">
23 <thead>
24 <tr>
25 {% table_header headers %}
26 </tr>
27 </thead>
28 {% spaceless %}{% for c in employes.values %}
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>
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 %}
45 </td>
46 </tr>
47 {% endfor %}{% endspaceless %}
48 </table>
49
50 {% endblock %}