diff options
Diffstat (limited to 'talermerchantdemos/templates/menu.html.j2')
-rw-r--r-- | talermerchantdemos/templates/menu.html.j2 | 12 |
1 files changed, 6 insertions, 6 deletions
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' %} |