mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	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 commits6f470650d0and1d42a86ec7, together they fix different small UI regressions aftera962286b74. Refs #21293.
This commit is contained in:
		| @@ -1,9 +1,9 @@ | |||||||
| {% extends "admin/base.html" %} | {% extends "admin/base.html" %} | ||||||
|  |  | ||||||
| {% block title %}{{ title }} | {{ site_title }}{% endblock %} | {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} | ||||||
|  |  | ||||||
| {% block branding %} | {% block branding %} | ||||||
| <h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header }}</a></h1> | <h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Django administration') }}</a></h1> | ||||||
| {% endblock %} | {% endblock %} | ||||||
|  |  | ||||||
| {% block nav-global %}{% endblock %} | {% block nav-global %}{% endblock %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user