Commit | Line | Data |
---|---|---|
c0413a6f | 1 | {% extends 'base.html' %} |
286d0aa9 | 2 | {% load adminmedia dae %} |
c0413a6f OL |
3 | |
4 | {% block title %}RH - DAE - Poste{% endblock %} | |
5 | {% block titre %}Ressources humaines{% endblock %} | |
4ada572e | 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
c0413a6f OL |
7 | |
8 | {% block extrahead %} | |
63f8af95 OL |
9 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/dae.css" /> |
10 | <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}css/print.css" /> | |
c0413a6f OL |
11 | {% endblock %} |
12 | ||
13 | {% block main %} | |
e6f52402 | 14 | |
0c5f7281 | 15 | <h1 class="gauche">Demande d'autorisation de création de poste</h1> |
64af1419 | 16 | <a class="droite bouton-action" href="#" onclick="window.print(); return false;">Impression</a> |
6fcc7644 EMS |
17 | {% if poste|est_editable:request.user %} |
18 | <a class="droite bouton-action" href="{% url poste poste.key %}">Modifier</a> | |
19 | {% endif %} | |
580630f0 | 20 | {% if not poste.id_rh and importer %} |
6fcc7644 EMS |
21 | <a class="droite bouton-action" href="{% url poste_importer poste.id %}">Importer</a> |
22 | {% endif %} | |
0c5f7281 OL |
23 | <div class="visualClear"></div> |
24 | ||
41318fe7 | 25 | {% include "dae/poste_resume.html" %} |
e6f52402 OL |
26 | |
27 | <fieldset> | |
3799cafc | 28 | <h2>Validations</h2> |
e6f52402 | 29 | |
e13a5143 OL |
30 | <table> |
31 | <tr> | |
32 | <th>Action</th> | |
e13a5143 OL |
33 | <th>Commentaire</th> |
34 | </tr> | |
e6f52402 | 35 | {% for commentaire in poste.historique_desc %} |
e13a5143 | 36 | {% include "dae/ligne_validation.html" %} |
e6f52402 | 37 | {% endfor %} |
e13a5143 | 38 | </table> |
e6f52402 | 39 | |
66fefd2f | 40 | {% if not poste.dae_dossiers.all %} |
64af1419 | 41 | <form action="" method="post"> |
56589624 OL |
42 | <h2>Votre validation</h2> |
43 | <p>Le poste est actuellement à l'état : <span class="note">{{ poste.get_etat_display }}</span>.</p> | |
3799cafc | 44 | |
e6f52402 | 45 | <table> |
483ab3e3 | 46 | {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %} |
e6f52402 | 47 | </table> |
56589624 | 48 | {{ validationForm.get_input_etats_as_buttons|safe }} |
e6f52402 | 49 | </form> |
66fefd2f OL |
50 | {% endif %} |
51 | ||
e6f52402 OL |
52 | </fieldset> |
53 | ||
66fefd2f | 54 | |
64af1419 EMS |
55 | <div class="print-only"> |
56 | <h2>Signatures</h2> | |
57 | <p class="signature"> ____________________________________________________________</p> | |
58 | <p class="signature"> ____________________________________________________________</p> | |
59 | <p class="signature"> ____________________________________________________________</p> | |
60 | </div> | |
e6f52402 | 61 | |
c0413a6f | 62 | {% endblock %} |