diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 912a620010b..a8c1c9c1012 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -19,9 +19,9 @@
{% block branding %}{% endblock %}
- {% if not user.is_anonymous %} + {% if not user.is_anonymous %}{% if user.is_staff %}
{% trans 'Welcome,' %} {% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}. {% block userlinks %}{% trans 'Documentation' %} / {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %}
- {% endif %} + {% endif %}{% endif %} {% block nav-global %}{% endblock %}