summaryrefslogtreecommitdiff
path: root/talermerchantdemos
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-27 19:46:56 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-27 19:46:56 +0100
commitc36ef03de8e3a25a4e8dcfe90b62dfd3e2baa546 (patch)
treeaa12a87b2242ab17af7a0f518e67248569df7821 /talermerchantdemos
parent31807e0a69004fa101353c072b55ca7a9bce123c (diff)
downloadtaler-merchant-demos-0.8.1-dev.1.tar.gz
taler-merchant-demos-0.8.1-dev.1.tar.bz2
taler-merchant-demos-0.8.1-dev.1.zip
work on #6656v0.8.1-dev.1
Diffstat (limited to 'talermerchantdemos')
-rw-r--r--talermerchantdemos/templates/footer.html.j22
-rw-r--r--talermerchantdemos/templates/menu.html.j212
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' %}