taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit a510a5f8cb61a49e772d2cf2ba90b0221f7ae553
parent 622f5aa78763e4350806d7e5dc6e76a99d7808f6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  7 Sep 2022 12:26:55 +0200

-try to fix links

Diffstat:
Mtalermerchantdemos/landing/landing.py | 6+++---
Mtalermerchantdemos/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 @@ -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 @@ -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>