<p>Bonjour.</p>
<p>Nous avons créé le compte et la boite e-mail.<br>
Voici les informations de connexion aux différents logiciels.
</p>

<table class="table table-sm">
	<tr><td>Nom : </td><td> {{item.GES_Nom}} </td></tr>
	<tr><td>Prénom : </td><td> {{item.GES_Prenom}} </td></tr>
    <tr><td>Site : </td><td> {{item.get_GES_L_Site_display}} </td></tr>
	<tr><td>Service : </td><td> {{item.GES_Service}} </td></tr>
	<tr><td>Fonction : </td><td> {{item.GES_Fonction}} </td></tr>
</table>

{% if item.apps %}
    <h4>Liste des applications sélectionné avec le profil</h4>
	<table class="table table-sm">
		<tr>
			<th scope="col">Nom de l'application</th>
			<th scope="col">Login</th>
			<th scope="col">Mot de passe</th>
		</tr>
		{% for apps in item.apps %}
			{% if apps.GES_APPLink_Create == True %}
				<tr class="table-success">
			{% else %}
				<tr>
			{% endif %}
			<td> {{apps.GES_APPLink_APP.GESAP_Nom}} </td>
			<td> {{apps.GES_APPLink_Login}} </td>
			<td> {{apps.GES_APPLink_MDP}} </td>
		</tr>
        {% endfor %}
	</table>
{% endif %}