summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/about.html
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-12-04 23:15:38 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-12-04 23:15:38 +0100
commit4a954eb8e70bda5819f63da9cd841f1579573413 (patch)
tree913d796501ab93fb3c6f81a23b2703a76f520f71 /src/jwebmail/templates/about.html
parentf5283a7bb0b215b8a426219f9be8f2d4f9d5b59f (diff)
add multi language urls
update translations use redis as session store add requirements.txt file to pin dependencies add proper subfolder support improve compatibility with python 3.9 correct js for login focus
Diffstat (limited to 'src/jwebmail/templates/about.html')
-rw-r--r--src/jwebmail/templates/about.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jwebmail/templates/about.html b/src/jwebmail/templates/about.html
index e197275..836b668 100644
--- a/src/jwebmail/templates/about.html
+++ b/src/jwebmail/templates/about.html
@@ -40,7 +40,11 @@
<ul>
{% for lang in languages %}
<li>
- {{ get_locale().languages[lang.language] }}
+ {% if lang == get_locale() %}
+ <a href="{{ url_for('about', lang_code=lang.language) }}"><strong>{{ get_locale().languages[lang.language] }}</strong></a>
+ {% else %}
+ <a href="{{ url_for('about', lang_code=lang.language) }}">{{ get_locale().languages[lang.language] }}</a>
+ {% endif %}
</li>
{% endfor %}
</ul>