diff --git a/openslides/agenda/templates/agenda/config.html b/openslides/agenda/templates/agenda/config.html index 0ef26b8d5..4c2a85804 100644 --- a/openslides/agenda/templates/agenda/config.html +++ b/openslides/agenda/templates/agenda/config.html @@ -5,7 +5,9 @@ {% block title %}{{ block.super }} – {% trans "Agenda settings" %}{% endblock %} {% block content %} -

{% trans "Agenda settings" %}

+

{% trans "Configuration" %}: {% trans "Agenda" %} + {% block config_submenu %}{{ block.super }}{% endblock %} +

{% csrf_token %} {{ form.as_p }}

diff --git a/openslides/application/templates/application/config.html b/openslides/application/templates/application/config.html index 8dd65eddf..9193f5525 100644 --- a/openslides/application/templates/application/config.html +++ b/openslides/application/templates/application/config.html @@ -5,7 +5,9 @@ {% block title %}{{ block.super }} – {% trans "Application settings" %}{% endblock %} {% block content %} -

{% trans "Application settings" %}

+

{% trans "Configuration" %}: {% trans "Applications" %} + {% block config_submenu %}{{ block.super }}{% endblock %} +

{% csrf_token %} {{ form.as_p }}

diff --git a/openslides/assignment/templates/assignment/config.html b/openslides/assignment/templates/assignment/config.html index 035de8384..b2feb2412 100644 --- a/openslides/assignment/templates/assignment/config.html +++ b/openslides/assignment/templates/assignment/config.html @@ -5,7 +5,9 @@ {% block title %}{{ block.super }} – {% trans "Election settings" %}{% endblock %} {% block content %} -

{% trans "Election settings" %}

+

{% trans "Configuration" %}: {% trans "Elections" %} + {% block config_submenu %}{{ block.super }}{% endblock %} +

{% csrf_token %} {{ form.as_p }}

diff --git a/openslides/config/templates/config/base_config.html b/openslides/config/templates/config/base_config.html index 78880323e..a1f99418e 100644 --- a/openslides/config/templates/config/base_config.html +++ b/openslides/config/templates/config/base_config.html @@ -1,13 +1,15 @@ {% extends "base.html" %} -{% load tags %} {% load i18n %} -{% block submenu %} -

{% trans "Configuration" %}

- +{% block config_submenu %} + +
+
+ {% for menu_link in menu_links %} + {{ menu_link.1 }} + {% endfor %} +
+
+
{% endblock %} diff --git a/openslides/config/templates/config/general.html b/openslides/config/templates/config/general.html index 55fbae5b1..585adf31e 100644 --- a/openslides/config/templates/config/general.html +++ b/openslides/config/templates/config/general.html @@ -5,7 +5,9 @@ {% block title %}{{ block.super }} – {% trans "General settings" %}{% endblock %} {% block content %} -

{% trans "General settings" %}

+

{% trans "Configuration" %}: {% trans "General" %} + {% block config_submenu %}{{ block.super }}{% endblock %} +

{% csrf_token %}
{% trans "Event" %} diff --git a/openslides/config/templates/config/version.html b/openslides/config/templates/config/version.html index 0df6c49f3..a846675ad 100644 --- a/openslides/config/templates/config/version.html +++ b/openslides/config/templates/config/version.html @@ -5,7 +5,9 @@ {% block title %}{{ block.super }} – {% trans "Version" %}{% endblock %} {% block content %} -

{% trans "Version" %}

+

{% trans "Version" %} + {% block config_submenu %}{{ block.super }}{% endblock %} +

{% for version in versions %}

{{ version.0 }} {% trans "Version" %}: {{ version.1 }}

diff --git a/openslides/participant/templates/participant/config.html b/openslides/participant/templates/participant/config.html index 49973462e..ea661a65c 100644 --- a/openslides/participant/templates/participant/config.html +++ b/openslides/participant/templates/participant/config.html @@ -5,7 +5,9 @@ {% block title %}{{ block.super }} – {% trans "Participant settings" %}{% endblock %} {% block content %} -

{% trans "Participant settings" %}

+

{% trans "Configuration" %}: {% trans "Participants" %} + {% block config_submenu %}{{ block.super }}{% endblock %} +

{% csrf_token %} {% include "form.html" %}