Permalink
Browse files

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 6f47065 and 1d42a86, together they fix
different small UI regressions after a962286.

Refs #21293.
  • Loading branch information...
1 parent b57ee15 commit 5ea34f3f86af307e1a1c02b49136f51a4f63da88 @ramiro ramiro committed May 8, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 %}
-<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 %}

0 comments on commit 5ea34f3

Please sign in to comment.