From d37364ee8f803732eda65ca5468f98bc90f133b7 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Mon, 18 Jun 2018 18:56:27 +0200 Subject: [PATCH] Refix les erreurs d'affichage --- cotisations/templates/cotisations/recharge.html | 2 +- cotisations/views.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cotisations/templates/cotisations/recharge.html b/cotisations/templates/cotisations/recharge.html index 196de2ca..6f4e9d9c 100644 --- a/cotisations/templates/cotisations/recharge.html +++ b/cotisations/templates/cotisations/recharge.html @@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,

{% trans "Balance refill" %}

{% blocktrans %} - Balance : {{ request.user.solde }} € + Balance : {{ solde }} € {% endblocktrans %}

diff --git a/cotisations/views.py b/cotisations/views.py index 336d755f..518df96b 100644 --- a/cotisations/views.py +++ b/cotisations/views.py @@ -899,5 +899,6 @@ def recharge(request): ](invoice, request) return render(request, 'cotisations/payment.html', content) return form({ - 'rechargeform': refill_form + 'rechargeform': refill_form, + 'solde': request.user.solde }, 'cotisations/recharge.html', request)