gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-merchant-demos] branch master updated: -try to fix links


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: -try to fix links
Date: Wed, 07 Sep 2022 12:26:57 +0200

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

grothoff pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new a510a5f  -try to fix links
a510a5f is described below

commit a510a5f8cb61a49e772d2cf2ba90b0221f7ae553
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Sep 7 12:26:55 2022 +0200

    -try to fix links
---
 talermerchantdemos/landing/landing.py              | 6 +++---
 talermerchantdemos/templates/landing-index.html.j2 | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/talermerchantdemos/landing/landing.py 
b/talermerchantdemos/landing/landing.py
index d809c08..fc96eef 100644
--- a/talermerchantdemos/landing/landing.py
+++ b/talermerchantdemos/landing/landing.py
@@ -130,11 +130,11 @@ def index():
 def start(lang):
 
     if x := os.environ.get("TALER_ENV_URL_BANK"):
-        bank_register_url = "/".join([x.strip("/"), f"{lang}/register"])
-        bank_public_accounts_url = "/".join([x.strip("/"), 
f"{lang}/public-accounts"])
+        bank_register_url = "/".join([x.strip("/"), 
f"/demobanks/default?lang={lang}"])
+        bank_url = "/".join([x.strip("/"), f"?lang={lang}"])
     else:
         bank_register_url = "#"
-        bank_public_accounts_url = "#"
+        bank_url = "#"
 
     if x := os.environ.get("TALER_ENV_URL_MERCHANT_BLOG"):
         merchant_blog_url = "/".join([x.strip("/"), lang])
diff --git a/talermerchantdemos/templates/landing-index.html.j2 
b/talermerchantdemos/templates/landing-index.html.j2
index bb9dde7..29f331b 100644
--- a/talermerchantdemos/templates/landing-index.html.j2
+++ b/talermerchantdemos/templates/landing-index.html.j2
@@ -56,7 +56,7 @@
       <h2>{{ gettext("Step 4: Check money flow") }}</h2>
         <p>
         {{
-          gettext('You can see the wire transfers from the escrow account of 
the exchange to the merchants on the <a href="{bank}">public accounts page</a> 
of the bank.').format(bank=bank_public_accounts_url) + "<br>" +
+          gettext('You can see the wire transfers from the escrow account of 
the exchange to the merchants on the <a href="{bank}">public accounts page</a> 
of the bank.').format(bank=bank_url) + "<br>" +
           gettext('Note that only accounts configured to be publicly viewable 
are shown on that page.')
         }}
         </p>

-- 
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]