From 328c030cc40c859fd7033503aebbdec504c99a81 Mon Sep 17 00:00:00 2001
From: Hugo LEVY-FALK
Date: Tue, 3 Jul 2018 21:38:10 +0200
Subject: [PATCH] Supprime la vue 'recharge' qui faisait doublon avec
'credit_solde'
---
.../templates/cotisations/facture.html | 7 ++-
cotisations/urls.py | 5 --
cotisations/views.py | 50 ++++---------------
users/templates/users/profil.html | 4 +-
4 files changed, 19 insertions(+), 47 deletions(-)
diff --git a/cotisations/templates/cotisations/facture.html b/cotisations/templates/cotisations/facture.html
index 082759c4..03a4225b 100644
--- a/cotisations/templates/cotisations/facture.html
+++ b/cotisations/templates/cotisations/facture.html
@@ -31,7 +31,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
{% bootstrap_form_errors factureform %}
-
+{% if title %}
+{{title}}
+{% endif %}
+{% if balance %}
+{% trans "Current balance :" %}{{balance}}€
+{% endif %}
{% if user_solde %}
Votre solde est de {{ users.solde }}€.
-
+
Recharger
@@ -165,7 +165,7 @@ non adhérent{% endif %} et votre connexion est {% if users.has_access %}
Solde |
{{ users.solde }} €
{% if user_solde %}
-
+
Recharger
|