From 939d5326aac6f9aa7624e61ac6a9c304672f0c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Wed, 25 Jul 2018 18:46:48 +0000 Subject: [PATCH] Fix if-else --- users/templates/users/profil.html | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 533b4ef9..37c08d3d 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -35,11 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
- {% if solde_activated %} -
- {% else %} -
- {% endif %} +
{% if users.is_ban%}
Your account has been banned
@@ -78,10 +74,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-
- {% else %} -
{% endif %} +
{% if nb_machines %}