diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-27 19:46:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-27 19:46:56 +0100 |
commit | c36ef03de8e3a25a4e8dcfe90b62dfd3e2baa546 (patch) | |
tree | aa12a87b2242ab17af7a0f518e67248569df7821 /talermerchantdemos/templates | |
parent | 31807e0a69004fa101353c072b55ca7a9bce123c (diff) | |
download | taler-merchant-demos-c36ef03de8e3a25a4e8dcfe90b62dfd3e2baa546.tar.gz taler-merchant-demos-c36ef03de8e3a25a4e8dcfe90b62dfd3e2baa546.tar.bz2 taler-merchant-demos-c36ef03de8e3a25a4e8dcfe90b62dfd3e2baa546.zip |
work on #6656v0.8.1-dev.1
Diffstat (limited to 'talermerchantdemos/templates')
-rw-r--r-- | talermerchantdemos/templates/footer.html.j2 | 2 | ||||
-rw-r--r-- | talermerchantdemos/templates/menu.html.j2 | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/talermerchantdemos/templates/footer.html.j2 b/talermerchantdemos/templates/footer.html.j2 index 79c4fd7..7c585bc 100644 --- a/talermerchantdemos/templates/footer.html.j2 +++ b/talermerchantdemos/templates/footer.html.j2 @@ -2,7 +2,7 @@ <div> <p> {{ - gettext('You can learn more about GNU Taler on our main <a href="{site}">website</a>.').format(site="https://taler.net/") + gettext('You can learn more about GNU Taler on our main <a href="{site}">website</a>.').format(site="https://taler.net/" + lang + "/") }} </p> <div style="flex-grow:1"></div> diff --git a/talermerchantdemos/templates/menu.html.j2 b/talermerchantdemos/templates/menu.html.j2 index e029c4a..c364a2c 100644 --- a/talermerchantdemos/templates/menu.html.j2 +++ b/talermerchantdemos/templates/menu.html.j2 @@ -1,22 +1,22 @@ {% macro menu(active) -%} <div style="display:flex; flex-direction: column;" class="navcontainer"> <nav class="demolist"> - <a href="{{ env('TALER_ENV_URL_INTRO', '#') }}" + <a href="{{ env('TALER_ENV_URL_INTRO', '#') + lang + '/' }}" {% if active == 'landing' %} class="active" {% endif %} >{{gettext("Introduction")}}</a> - <a href="{{ env('TALER_ENV_URL_BANK', '#') }}" + <a href="{{ env('TALER_ENV_URL_BANK', '#') + lang + '/' }}" {% if active == 'bank' %} class="active" {% endif %} >{{gettext("Bank")}}</a> - <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') }}" + <a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG', '#') + lang + '/' }}" {% if active == 'blog' %} class="active" {% endif %} >{{gettext("Essay Shop")}}</a> - <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') }}" + <a href="{{ env('TALER_ENV_URL_MERCHANT_DONATIONS', '#') + lang + '/' }}" {% if active == 'donations' %} class="active" {% endif %} >{{gettext("Donations")}}</a> - <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') }}" + <a href="{{ env('TALER_ENV_URL_MERCHANT_SURVEY', '#') + lang + '/' }}" {% if active == 'survey' %} class="active" {% endif %} >{{gettext("Tipping/Survey")}}</a> - <!-- a href="{{ env('TALER_ENV_URL_BACKOFFICE', '#') }}" + <!-- a href="{{ env('TALER_ENV_URL_BACKOFFICE', '#') + lang + '/' }}" {% if active == 'backoffice' %} class="active" {% endif %} >{{gettext("Back-office")}}</a --> {% include 'templates/language-switcher.html.j2' %} |