Rapports trie, WIP et optimisation de requete SQL
[auf_rh_dae.git] / project / rh / templates / rh / rapports / postes.html
... / ...
CommitLineData
1{% extends 'rh/rapports/base.html' %}
2{% load adminmedia rapports i18n %}
3
4{% block nomrapport %}Rapport Postes{% endblock %}
5{% block count_elements %}<h2>{{ count }} postes</h2>{% endblock %}
6
7{% block contentrapport %}
8<div id="changelist-filter">
9<h2>{% trans 'Filter' %}</h2>
10{% filter_region %}
11{% filter_implantation %}
12{% filter_comble %}
13</div>
14
15<table id="result_list">
16<thead>
17<tr>
18 {% table_header headers %}
19</tr>
20</thead>
21{% spaceless %}{% for poste in postes %}
22<tr class="{% cycle 'row1' 'row2' %}">
23 <td>{{ poste.id }}</td>
24 <td>{{ poste.nom }}</td>
25 <td>{{ poste.implantation }}</td>
26 <td>{{ poste.employe_id }}</td>
27 <td>{{ poste.employe_nom }}</td>
28 <td>{{ poste.employe_prenom }}</td>
29</tr>
30{% endfor %}{% endspaceless %}
31</table>
32
33{% endblock %}