diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po index efacdfe2..bec7e726 100644 --- a/locale/de/LC_MESSAGES/django.po +++ b/locale/de/LC_MESSAGES/django.po @@ -1795,7 +1795,7 @@ msgid "Registrations" msgstr "" #: templates/base.html:141 -msgid "Administration" +msgid "Admin" msgstr "" #: templates/base.html:180 diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 25e68a4b..54c70c71 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -1850,8 +1850,8 @@ msgid "Registrations" msgstr "Inscriptions" #: templates/base.html:141 -msgid "Administration" -msgstr "Administration" +msgid "Admin" +msgstr "Admin" #: templates/base.html:180 msgid "" diff --git a/templates/base.html b/templates/base.html index 2d940e2b..9b1f463e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -109,13 +109,6 @@ SPDX-License-Identifier: GPL-3.0-or-later {% trans 'Clubs' %} {% endif %} - {% if "member.change_profile_registration_valid"|has_perm:user %} - - {% endif %} {% if "activity.activity"|not_empty_model_list %} {% endif %} diff --git a/templates/member/user_list.html b/templates/member/user_list.html index bad37468..658292b0 100644 --- a/templates/member/user_list.html +++ b/templates/member/user_list.html @@ -2,6 +2,7 @@ {% load render_table from django_tables2 %} {% load crispy_forms_tags %} {% load i18n %} +{% load perms %} {% block content %} @@ -18,6 +19,13 @@ {% endif %} +
+ + {% if "member.change_profile_registration_valid"|has_perm:user %} + + {% trans "Registrations" %} + + {% endif %} {% endblock %} {% block extrajavascript %}