| 1 | {% extends 'base.html' %} |
| 2 | {% load adminmedia dae %} |
| 3 | |
| 4 | {% block title %}RH - DAE - Poste{% endblock %} |
| 5 | {% block titre %}Ressources humaines{% endblock %} |
| 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
| 7 | |
| 8 | {% block extrahead %} |
| 9 | <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" /> |
| 10 | {% endblock %} |
| 11 | |
| 12 | {% block main %} |
| 13 | |
| 14 | <h1 class="gauche">Demande d'autorisation de création de poste</h1> |
| 15 | <a class="droite bouton-action" target="_blank" href="?mode=vpdf">Format impression</a> |
| 16 | {% if poste|est_editable:request.user %}<a class="droite bouton-action" href="{% url poste poste.key %}">Modifier</a>{% endif %} |
| 17 | <div class="visualClear"></div> |
| 18 | |
| 19 | {% include "dae/poste_resume.html" %} |
| 20 | |
| 21 | <fieldset> |
| 22 | <h2>Validations</h2> |
| 23 | |
| 24 | <table> |
| 25 | <tr> |
| 26 | <th>Action</th> |
| 27 | <th>Commentaire</th> |
| 28 | </tr> |
| 29 | {% for commentaire in poste.historique_desc %} |
| 30 | {% include "dae/ligne_validation.html" %} |
| 31 | {% endfor %} |
| 32 | </table> |
| 33 | |
| 34 | <h2>Votre validation</h2> |
| 35 | <p>Le poste est actuellement à l'état : <span class="note">{{ poste.get_etat_display }}</span>.</p> |
| 36 | |
| 37 | <form action="" method="post"> |
| 38 | <table> |
| 39 | {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %} |
| 40 | </table> |
| 41 | {{ validationForm.get_input_etats_as_buttons|safe }} |
| 42 | </form> |
| 43 | </fieldset> |
| 44 | |
| 45 | |
| 46 | {% endblock %} |