diff --git a/kfet/templates/kfet/account_read.html b/kfet/templates/kfet/account_read.html index 011ef1d4..3a81a5ec 100644 --- a/kfet/templates/kfet/account_read.html +++ b/kfet/templates/kfet/account_read.html @@ -1,7 +1,7 @@ {% extends "kfet/base.html" %} {% block title %} -{% if account.cofprofile.user == request.user %} +{% if account.user == request.user %} Mes informations {% else %} Informations du compte {{ account.trigramme }} @@ -16,15 +16,15 @@

-

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 }}