gnunet-svn
[Top][All Lists]
Advanced

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

[taler-bank] 02/02: link to localized shops


From: gnunet
Subject: [taler-bank] 02/02: link to localized shops
Date: Wed, 03 Feb 2021 22:47:16 +0100

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

ms pushed a commit to branch master
in repository bank.

commit aeb153c8d8baf12727ddaca533fb5e15a5633f32
Author: MS <ms@taler.net>
AuthorDate: Wed Feb 3 22:47:04 2021 +0100

    link to localized shops
---
 talerbank/app/templates/base.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/talerbank/app/templates/base.html 
b/talerbank/app/templates/base.html
index 148097a..6f757ac 100644
--- a/talerbank/app/templates/base.html
+++ b/talerbank/app/templates/base.html
@@ -76,14 +76,14 @@
       </p>
   </header>
   <div style="display:flex; flex-direction: column;" class="navcontainer">
+    {% set lang = get_locale(request.path) %}
     <nav class="demolist">
-      <a href="{{ env('TALER_ENV_URL_INTRO', '#') }}">{{ _("Introduction") 
}}</a>
-      <a href="{{ env('TALER_ENV_URL_BANK', '#') }}" class="active">{{ 
_("Bank") }}</a>
-      <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') }}">{{ _("Essay 
Shop") }}</a>
-      <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') }}">{{ 
_("Donations") }}</a>
-      <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') }}">{{ 
_("Tipping/Survey") }}</a>
+      <a href="{{ env('TALER_ENV_URL_INTRO', '#') + lang + '/' }}">{{ 
_("Introduction") }}</a>
+      <a href="{{ env('TALER_ENV_URL_BANK', '#') + lang + '/' }}" 
class="active">{{ _("Bank") }}</a>
+      <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') + lang + '/' }}">{{ 
_("Essay Shop") }}</a>
+      <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') + lang + '/' 
}}">{{ _("Donations") }}</a>
+      <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') + lang  + '/' 
}}">{{ _("Tipping/Survey") }}</a>
       <span class="right">
-        {% set lang = get_locale(request.path) %}
         {{ {"en": _("English [en]"), "es": _("Spanish [es]"), "de": _("German 
[de]"), "sv": _("Swedish [sv]")}[lang] | default("en") }}
         <div class="nav">
         <br>

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