[1.7.x] 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.

5ea34f3f86 from master.
This commit is contained in:
Ramiro Morales 2014-05-07 23:12:58 -03:00
parent 7f63ac5a9f
commit bc82c0dbac
1 changed files with 2 additions and 2 deletions

View File

@ -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 %}
<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 %}
{% block nav-global %}{% endblock %}