Ticket #21293: ticket-21293.diff

File ticket-21293.diff, 750 bytes (added by Baptiste Mispelon, 11 years ago)
  • django/contrib/admin/templates/admin/base_site.html

    diff --git a/django/contrib/admin/templates/admin/base_site.html b/django/contrib/admin/templates/admin/base_site.html
    index bbef2c7..cae0a69 100644
    a b  
    11{% extends "admin/base.html" %}
    22
    3 {% block title %}{{ title }} | {{ site_title }}{% endblock %}
     3{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
    44
    55{% block branding %}
    6 <h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header }}</a></h1>
     6<h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Django administration') }}</a></h1>
    77{% endblock %}
    88
    99{% block nav-global %}{% endblock %}
Back to Top