gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch master updated: fix currency repetition


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: fix currency repetition
Date: Tue, 31 Oct 2017 16:48:45 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 64a2d5d  fix currency repetition
64a2d5d is described below

commit 64a2d5de93319bcc2d304cd6536256d489c1e941
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Oct 31 16:48:33 2017 +0100

    fix currency repetition
---
 talerbank/app/templates/profile_page.html | 2 +-
 talerbank/app/views.py                    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/talerbank/app/templates/profile_page.html 
b/talerbank/app/templates/profile_page.html
index ac6aba2..1e4633a 100644
--- a/talerbank/app/templates/profile_page.html
+++ b/talerbank/app/templates/profile_page.html
@@ -39,7 +39,7 @@
 {% block content %}
   <section id="menu">
     <p>Account: # {{ account_no }}</p>
-    <p>Current balance: <b>{{ sign }} {{ balance }} {{ currency }}</b></p>
+    <p>Current balance: <b>{{ sign }} {{ balance }}</b></p>
   </section>
   <section id="main">
     <article>
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index c53ba14..979e05d 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -100,7 +100,6 @@ def profile_page(request):
         name=user_account.user.username,
         balance=user_account.amount.stringify(settings.TALER_DIGITS),
         sign = "-" if user_account.debit else "",
-        currency=user_account.amount.currency,
         precision=settings.TALER_DIGITS,
         account_no=user_account.account_no,
         history=history,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]