-{% extends 'base.html' %}
+{% extends 'sgrh.html' %}
{% block title %}RH - {{ employe }}{% endblock %}
{% block sous_titre %}Espace personnel{% endblock %}
{% block main %}
-<h1>{{ employe }}</h1>
+<h1>{{ employe.civilite }} {{ employe }}</h1>
-Infos personnelles.
+<div id="identification">
+<p>{{ employe.dossier.poste }}</p>
+</div>
+
+<div id="infos" class="gauche50">
+ <h2>Informations professionnelles AUF</h2>
+ <table>
+ <tbody>
+ <tr>
+ <th>Date d'entrée :</th>
+ <td>{{ employe.date_entree }}</td>
+ </tr>
+ </tbody>
+ </table>
+
+</div>
+<div id="infos_perso" class="gauche50">
+ <h2>Informations personnelles</h2>
+ <table>
+ <tbody>
+ {% comment %}
+ <tr>
+ <th>Nom d'affichage :</th>
+ <td>{{ employe.nom_affichage }}</td>
+ </tr>
+ {% endcomment %}
+ <tr>
+ <th>Date de naissance :</th>
+ <td>{{ employe.date_naissance }}</td>
+ </tr>
+ <tr>
+ <th>Nationalité :</th>
+ <td>{{ employe.nationalite }}</td>
+ </tr>
+ <tr>
+ <th>Situation familiale :</th>
+ <td>{{ employe.situation_familiale }}</td>
+ </tr>
+ </tbody>
+ </table>
+
+</div>
+
+<div id="coord" class="clear gauche50">
+ <h2>Coordonnées professionnelles AUF</h2>
+ {{ employe.courriel }}
+</div>
+<div id="coord_perso" class="gauche50">
+ <h2>Coordonnées personnelles</h2>
+ <table>
+ <tbody>
+ <tr>
+ <th>Téléphone domicile :</th>
+ <td>{{ employe.tel_domicile }}</td>
+ </tr>
+ <tr>
+ <th>Téléphone cellulaire :</th>
+ <td>{{ employe.tel_cellulaire }}</td>
+ </tr>
+ <tr>
+ <th>Adresse complète :</th>
+ <td>
+ {{ employe.adresse }}<br />
+ {% if employe.ville or employe.province %}
+ {{ employe.ville }}
+ {% if employe.ville and employe.province %}, {% endif %}
+ {{ employe.province }}
+ <br />
+ {% endif %}
+ {% if employe.code_postal %}
+ {{ employe.code_postal }}<br />
+ {% endif %}
+ {{ employe.pays.nom }}
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
+
+<div id="dossiers" class="clear">
+<h2>Dossiers</h2>
+
+<ul>
+{% for d in employe.dossiers.all %}
+ <li>{{ d }}</li>
+{% endfor %}
+</ul>
+</div>
{% endblock %}