summaryrefslogtreecommitdiff
path: root/talermerchantdemos
diff options
context:
space:
mode:
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' %}