PEP8
[auf_rh_dae.git] / project / dae / templates / dae / embauches_finalisees.html
CommitLineData
44055779
EMS
1{% extends "base.html" %}
2{% load dae %}
3
4{% block title %}RH - DAE - Embauches{% endblock %}
5{% block titre %}Ressources humaines{% endblock %}
6{% block sous_titre %}Demande d'autorisation d'engagement{% endblock %}
7{% block extrahead %}
63f8af95
OL
8<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/dae.css" />
9<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tablesorter.css" />
10<script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.5.1.min.js"></script>
44055779
EMS
11<script type="text/javascript">
12 $(document).ready(function() {
13 $('table.tablesorter thead th').click(function() {
14 window.location.href = $(this).find('a').attr('href');
15 });
16 });
17</script>
18{% endblock %}
19
20{% block main %}
21<h1>Liste des demandes d'autorisation d'engagement finalisées</h1>
22
23<table class="listing tablesorter">
24 <thead>
25 <tr>
26 {% sort_header "region" "Région" %}
27 {% sort_header "implantation" "Implantation" %}
28 {% sort_header "poste" "Poste" %}
29 {% sort_header "personne" "Personne" %}
30 {% sort_header "debut_contrat" "Début du contrat" %}
31 {% sort_header "fin_contrat" "Fin du contrat" %}
fb0ed970 32 <th></th>
44055779
EMS
33 </tr>
34 </thead>
35 <tbody>
36 {% for dossier in embauches.object_list %}
37 <tr>
38 <td>{{ dossier.poste.implantation|region_ou_service }}</td>
39 <td>{{ dossier.poste.implantation }}</td>
40 <td><a href="{% url embauche_consulter dossier.id %}">{{ dossier.poste.nom }}</a></td>
41 <td><a href="{% url embauche_consulter dossier.id %}">{{ dossier.employe }}</a></td>
b577e573
EMS
42 <td>{{ dossier.contrat_date_debut|date:"d-m-Y" }}</td>
43 <td>{{ dossier.contrat_date_fin|date:"d-m-Y" }}</td>
8b08fd5a
EMS
44 <td>
45 {% if not dossier.dossier_rh %}
46 <a href="{% url embauche_importer dossier.id %}">Importer</a></td>
47 {% endif %}
48 </td>
44055779
EMS
49 </tr>
50 {% endfor %}
51 </tbody>
52</table>
53{% pagination embauches %}
54{% endblock %}