diff --git a/app/templates/account/user.html b/app/templates/account/user.html index 859c1d7..6caa89a 100644 --- a/app/templates/account/user.html +++ b/app/templates/account/user.html @@ -9,8 +9,12 @@
{{ widget_member.profile(member) }} - {% if current_user.is_authenticated and (current_user == member or current_user.priv('access-admin-panel')) %} -
Modifier
+ {% if current_user.is_authenticated %} + {% if current_user == member %} +
Modifier le compte
+ {% elif current_user.priv('access-admin-panel') %} +
Modifier le compte
+ {% endif %} {% endif %}

Trophées