From 45676ef669269b27e4606e4b5859b304925c69c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Wed, 25 Jul 2018 18:28:13 +0000 Subject: [PATCH] Fix indentation and missing div --- users/templates/users/profil.html | 143 ++++++++++++++---------------- 1 file changed, 65 insertions(+), 78 deletions(-) diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 9628097a..3c63a6ef 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -26,100 +26,87 @@ 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 }}

+

Bienvenue {{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 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é
- - Adhérer - + Adhérer + +
{% else %} -
-
Connécté
-
- Fin de connexion: {{user.end_adhesion|date:"d M Y"}} -
-
+
+
Connécté
+
+ Fin de connexion: {{user.end_adhesion|date:"d M Y"}} +
+
{% endif %} -
-
- {% if solde_activated %} -
-
-
+
+ {% if solde_activated %} +
- - {{user.solde}} -
+ {{user.solde}} +
+
+
+
+ {% else %} +
+ {% endif %} +
+ {% if nb_machines %} +
+
+ {{nb_machines}} Machines +
+ -
+
+
+ {% else %} +
+
Aucune machine
+ +
+ {% endif %}
-
- {% endif %} - {% if solde_activated %} -
- {% else %} -
- {% endif %} -
- {% if nb_machines %} -
-
- {{nb_machines}} - Machines - -
- -
- {% else %} -
-
Aucune machine
- -
- {% endif %} -
-
-
+