summaryrefslogtreecommitdiff
path: root/talermerchantdemos/templates/common-base.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/templates/common-base.html.j2')
-rw-r--r--talermerchantdemos/templates/common-base.html.j219
1 files changed, 17 insertions, 2 deletions
diff --git a/talermerchantdemos/templates/common-base.html.j2 b/talermerchantdemos/templates/common-base.html.j2
index 17e27c6..6c5502b 100644
--- a/talermerchantdemos/templates/common-base.html.j2
+++ b/talermerchantdemos/templates/common-base.html.j2
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<!--
This file is part of GNU TALER.
- Copyright (C) 2014, 2015, 2016, 2020 Taler Systems SA
+ Copyright (C) 2014, 2015, 2016, 2020, 2021 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free Software
@@ -58,6 +58,21 @@
{% if getactive() == 'survey' %} class="active" {% endif %}
>{{gettext("Tipping/Survey")}}</a>
{% include 'language-switcher.html.j2' %}
+
+ {# Language Selector #}}
+ <span class="right">
+ {{ all_languages[getlang()] | default("en") }}
+ <div class="nav">
+ <br>
+ {% for lang_code, lang_display in all_languages.items() %}
+ {% if lang_code != getlang() %}
+ <a href="/{{ lang_code }}/" class="navbtn">{{ lang_display }}</a>
+ <br>
+ {% endif %}
+ {% endfor %}
+ </div>
+ </span>
+
</nav>
</div>
@@ -73,7 +88,7 @@
}}
</p>
<div style="flex-grow:1"></div>
- <p>Copyright &copy; 2014&mdash;2020 Taler Systems SA</p>
+ <p>Copyright &copy; 2014&mdash;2021 Taler Systems SA</p>
</div>
</section>
</body>