From acd36b69eb3021bfbf16cd3f0a46c1128821b812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?=
Prénom: {{ account.cofprofile.user.first_name }}
-Nom: {{ account.cofprofile.user.last_name }}
+Prénom: {{ account.first_name }}
+Nom: {{ account.last_name }}
{% if perms.kfet.is_team %}Surnom: {{ account.nickname }}
{% endif %} -Email: {{ account.cofprofile.user.email }}
-Département: {{ account.cofprofile.departement }}
+Email: {{ account.email }}
+Département: {{ account.departement }}
Promo: {{ account.promo }}
-Statut COF: {{ account.cofprofile.is_cof }}
+Statut COF: {{ account.is_cof }}
Compte gelé: {{ account.is_frozen }}
Solde: {{ account.balance }} €
{% if account.balance != account.real_balance %} diff --git a/kfet/templates/kfet/account_update.html b/kfet/templates/kfet/account_update.html index fd3cafb5..0dd23ed1 100644 --- a/kfet/templates/kfet/account_update.html +++ b/kfet/templates/kfet/account_update.html @@ -1,7 +1,7 @@ {% extends "kfet/base.html" %} {% block title %} -{% if account.cofprofile.user == request.user %} +{% if account.user == request.user %} Edition de mes informations {% else %} Edition des informations du compte {{ account.trigramme }}