gnunet-svn
[Top][All Lists]
Advanced

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

[taler-bank] branch master updated: success state


From: gnunet
Subject: [taler-bank] branch master updated: success state
Date: Thu, 01 Oct 2020 18:12:46 +0200

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

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 0b994eb  success state
0b994eb is described below

commit 0b994eb0ec8e6dfb07f7ea87087a56304a7f909a
Author: MS <ms@taler.net>
AuthorDate: Thu Oct 1 18:12:39 2020 +0200

    success state
---
 talerbank/app/templates/profile_page.html | 2 +-
 talerbank/app/views.py                    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/talerbank/app/templates/profile_page.html 
b/talerbank/app/templates/profile_page.html
index cdedc7e..41b6e57 100644
--- a/talerbank/app/templates/profile_page.html
+++ b/talerbank/app/templates/profile_page.html
@@ -33,7 +33,7 @@
       <div class="notification">
       {% if not is_success %}
         <p class="informational informational-fail">
-      {% else%}
+      {% else %}
         <p class="informational informational-ok">
       {% endif %}
         {{ hint }}
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 3eab9ed..e8862c1 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1236,6 +1236,7 @@ def confirm_withdrawal(request, withdraw_id):
             account_id=request.user.get_username(),
             amount=op.amount.stringify(settings.TALER_DIGITS),
             exchange=op.selected_exchange_account.user,
+            is_success=True
         )
         return render(request, "withdraw_confirm.html", context)
     raise Exception("not reached")

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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