c4515ca4aad1c6a1c98fbee84b34e6a94341f263
[auf_rh_dae.git] / project / rh / templates / rh / rapports / masse_salariale.html
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 extrastyle %}
8 {{ block.super }}
9 <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.5.1.min.js"></script>
10 <script type="text/javascript" src="{% admin_media_prefix %}js/jquery-stickytableheaders.js"></script>
11 {% endblock %}
12
13 {% block contentrapport %}
14 {% comment %}
15 <div id="changelist-filter">
16 <h2>{% trans 'Filter' %}</h2>
17 {% filter_region "dossier__poste__" %}
18 {% filter_implantation "dossier__poste__" %}
19 </div>
20 {% endcomment %}
21 <script type="text/javascript">
22 jQuery(document).ready(function(){
23 $("#result_list").stickyTableHeaders();
24 });
25 </script>
26 <table id="result_list" class="results">
27 <thead>
28 <tr>
29 {% table_header headers %}
30 </tr>
31 </thead>
32 {% spaceless %}
33 {% for row in rapport %}
34 <tr class="{% cycle 'row1' 'row2' %}">
35 {% for column in header_keys %}
36 <td>{{ row|hash:column }}</td>
37 {% endfor %}
38 </tr>
39 {% endfor %}{% endspaceless %}
40 </table>
41
42 {% endblock %}