small fix
[auf_rh_dae.git] / project / rh / templates / rh / include / employe.html
CommitLineData
ce740bb5
OL
1<fieldset class="module aligned">
2 <h2>Identification</h2>
3 {% include "rh/form-row.html" with label="Nom" value=employe.nom %}
4 {% include "rh/form-row.html" with label="Prénom" value=employe.prenom %}
5 {% include "rh/form-row.html" with label="Nom d'affichage" value=employe.nom_affichage|default:"" %}
7b1c223b 6 {% include "rh/form-row.html" with label="Genre" value=employe.get_genre_display %}
ce740bb5
OL
7 {% include "rh/form-row.html" with label="Nationalité" value=employe.nationalite %}
8 {% include "rh/form-row.html" with label="Date de naissance" value=employe.date_naissance %}
9 {% include "rh/form-row.html" with label="Situation familiale" value=employe.situation_famille.nom %}
10 {% include "rh/form-row.html" with label="Date d'entrée à l'AUF" value=employe.date_entree %}
11</fieldset>
abf91905 12
ce740bb5
OL
13<fieldset class="module aligned">
14 <h2>Coordonnées</h2>
15 {% include "rh/form-row.html" with label="Adresse" value=employe.adresse %}
16 {% include "rh/form-row.html" with label="Ville" value=employe.ville %}
17 {% include "rh/form-row.html" with label="Code postal" value=employe.code_postal %}
18 {% include "rh/form-row.html" with label="Province" value=employe.province %}
19 {% include "rh/form-row.html" with label="Pays" value=employe.pays %}
20 {% include "rh/form-row.html" with label="Tél. domicile" value=employe.tel_domicile %}
21 {% include "rh/form-row.html" with label="Tél. mobile" value=employe.tel_cellulaire %}
89a8df07 22 {% include "rh/form-row.html" with label="Adresse courriel personnelle" value=employe.courriel_perso %}
ce740bb5 23</fieldset>
6a7cc4dd
OL
24
25<fieldset class="module aligned">
2de29065
OL
26 <h2>Ayants droit</h2>
27 {% for ay in employe.ayantdroits.all %}
7b1c223b 28 {% include "rh/form-row.html" with label=ay value=ay.lien_parente|default_if_none:"Lien de parenté inconnu" %}
2de29065
OL
29 {% endfor %}
30</fieldset>
31
32<fieldset class="module aligned">
6a7cc4dd
OL
33 <h2>Pièces</h2>
34 {% for pj in employe.pieces.all %}
35 <div class="form-row">
45a0f6bc 36 <a href="{{ pj.fichier.url }}">{{ pj.nom }}</a>
6a7cc4dd
OL
37 </div>
38 {% endfor %}
39</fieldset>