{% block extrahead %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tablesorter.css" media="screen"/>
- <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
<script>
- $(document).ready(function() {
+ $(document).ready(function() {
$(".tablesorter").tablesorter({
dateFormat: 'uk',
headers: {
3: {sorter: "shortDate"},
}
}
- );
+ );
});
- </script>
+ </script>
{% endblock %}
{% block title %}RH - DAE - Postes{% endblock %}
{% endif %}
<h2>Les postes en cours de validation</h2>
-{% if postes_non_valides %}
+{% if postes_en_cours %}
<table class="tablesorter">
<thead>{% include "dae/poste-header.html" %}</thead>
<tbody>
-{% for poste in postes_non_valides %}
+{% for poste in postes_en_cours %}
{% include "dae/poste-row.html" %}
{% endfor %}
</tbody>
{% else %}
<p>Il n'y a aucun poste en cours de validation.</p>
{% endif %}
-
-<h2>Les postes ayant un dossier refusé</h2>
-{% if postes_non_valides %}
-<table class="tablesorter">
-<thead>{% include "dae/poste-header.html" %}</thead>
-<tbody>
-{% for poste in postes_avec_dossier_refuse %}
- {% include "dae/poste-row.html" %}
-{% endfor %}
-</tbody>
-</table>
-{% else %}
- <p>Il n'y a aucun poste avec un dossier refusé.</p>
-{% endif %}
-
-<h2>Les postes validés</h2>
-{% if postes_valides %}
-<table class="tablesorter">
-<thead>{% include "dae/poste-header.html" %}</thead>
-<tbody>
-{% for poste in postes_valides %}
- {% include "dae/poste-row.html" %}
-{% endfor %}
-</tbody>
-</table>
-{% else %}
- <p>Il n'y a aucun poste pourvu pour l'instant.</p>
-{% endif %}
-
{% endblock %}