diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 9b751842..a4fa73b6 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -32,60 +32,78 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+ {% if solde_activated %}
+ {% else %} +
+ {% endif %}
{% if users.is_adherent %}
-
Adhérent
-
Fin d'adhésion: {{user.end_adhesion}}
+
Connécté
+
Fin de connexion: {{user.end_adhesion|date:"d M Y"}}
+
{% else %}
-
Non adhérent
-
- - - Adhérer - +
Non connécté
+
{% endif %} -
+ {% if solde_activated %}
-
-
{{user.solde}}
- -
-
+
+
{{user.solde}}
+ +
+
+ {% endif %} + {% if solde_activated %}
+ {% else %} +
+ {% endif %}
{% if nb_machines %}
-
- {{nb_machines}} - Machines - +
+ {{nb_machines}} + Machines + +
+
{% else %}
-
Aucune machine
- {% endif %} - +
Aucune machine
+
+ {% endif %}