diff --git a/digitalstrategie/templates/includes/header.html b/digitalstrategie/templates/includes/header.html index 255c2040..d9e6563b 100644 --- a/digitalstrategie/templates/includes/header.html +++ b/digitalstrategie/templates/includes/header.html @@ -1,4 +1,7 @@ -{% load snippet_tags i18n static %} +{% load snippet_tags i18n static contrib_tags %} +{% get_current_language as LANGUAGE_CODE %} +{% get_available_languages as languages %} + {% if 'de-ls' in request.path %} {% load_site_menu "header_ls" as header_menu_items %} {% else %} @@ -60,15 +63,20 @@

{% trans 'Accessibility' %}

+ + {% if request.LANGUAGE_CODE == 'de' %} + {% get_language_info for 'de-ls' as language %} + {% get_has_translation page 'de_ls' as has_translation_de_ls %}

{% trans 'Settings' %}

+ {% endif %} {% if settings.apps_settings.Accessibility.accessibility_declaration and settings.apps_settings.Accessibility.accessibility_declaration_title %}

{% trans 'How accessible is this website?' %}

diff --git a/digitalstrategie/templates/includes/upper_footer.html b/digitalstrategie/templates/includes/upper_footer.html index 5bf56f7d..86ea1cb8 100644 --- a/digitalstrategie/templates/includes/upper_footer.html +++ b/digitalstrategie/templates/includes/upper_footer.html @@ -18,27 +18,29 @@

{{ menuitem.title }}