From 5ea34f3f86af307e1a1c02b49136f51a4f63da88 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Wed, 7 May 2014 23:12:58 -0300 Subject: [PATCH] Restored site header text in password reset view. It's the one shown when the optional integration described in https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature is used. Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix different small UI regressions after a962286b74. Refs #21293. --- django/contrib/admin/templates/admin/base_site.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/templates/admin/base_site.html b/django/contrib/admin/templates/admin/base_site.html index bbef2c73dd..cae0a691e3 100644 --- a/django/contrib/admin/templates/admin/base_site.html +++ b/django/contrib/admin/templates/admin/base_site.html @@ -1,9 +1,9 @@ {% extends "admin/base.html" %} -{% block title %}{{ title }} | {{ site_title }}{% endblock %} +{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} -

{{ site_header }}

+

{{ site_header|default:_('Django administration') }}

{% endblock %} {% block nav-global %}{% endblock %}