diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 9628097a..6e960fc2 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -26,100 +26,83 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load bootstrap3 %} {% load acl %} {% load logs_extra %} -{% block title %}Profil{% endblock %} -{% block content %} +{% block title %}Profil{% endblock %} + +{% block content %}
-

Bienvenue {{users.name}} {{ users.surname }}

+

Welcome {{ users.name }} {{ users.surname }}

-
- {% if solde_activated %} -
- {% else %} -
- {% endif %} -
- {% if users.is_ban%} -
-
Votre compte est banni
-
- Fin du ban : {{user.end_ban|date:"d M Y"}} -
-
- {% elif not users.is_adherent%} -
-
Non Connécté
+
+
+ {% if users.is_ban%} +
+
Your account has been banned
+
+ End of the ban: {{ user.end_ban | date:"SHORT_DATE_FORMAT" }} +
+
+ {% elif not users.is_adherent %} +
+
Not connected
- - - Adhérer - + {% can_create Facture %} + + Pay for a connexion + + {% acl_else %} + Ask for someone with the correct rights to pay for a connexion + {% acl_end %} +
{% else %} -
-
Connécté
-
- Fin de connexion: {{user.end_adhesion|date:"d M Y"}} -
-
+
+
Connected
+
+ End of connexion: {{ user.end_adhesion | date:"SHORT_DATE_FORMAT"}} +
+
{% endif %} -
-
- {% if solde_activated %} -
-
-
+
+ {% if solde_activated %} +
- - {{user.solde}} -
+ € {{ user.solde }} +
-
+ Pay for the balance + +
-
- {% endif %} - {% if solde_activated %} -
- {% else %} -
- {% endif %} -
- {% if nb_machines %} -
-
- {{nb_machines}} - Machines - -
-
+ {% endif %} +
+ {% if nb_machines %} +
+
+ Machines {{ nb_machines }} +
+
-
{% else %} -
-
Aucune machine
- {% endif %}
-
-
+
@@ -131,7 +114,7 @@ with this program; if not, write to the Free Software Foundation, Inc., Informations détaillées
-
+