Ticket #13749: ticket_13749.2.diff
File ticket_13749.2.diff, 1.5 KB (added by , 13 years ago) |
---|
-
django/contrib/admin/templates/admin/base_site.html
1 1 {% extends "admin/base.html" %} 2 {% load url from future %} 2 3 {% load i18n %} 3 4 4 5 {% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %} 5 6 6 7 {% block branding %} 7 <h1 id="site-name">{% trans 'Django administration' %}</h1> 8 <h1 id="site-name"> 9 {% url 'admin:index' as index_url %} 10 {% if index_url %} 11 <a href="{{ index_url }}"> 12 {% else %} 13 <a href="{{ root_path }}"> 14 {% endif %} 15 {% trans 'Django administration' %}</a></h1> 8 16 {% endblock %} 9 17 10 18 {% block nav-global %}{% endblock %} -
django/contrib/admin/templates/admin/base.html
28 28 {% trans 'Welcome,' %} 29 29 <strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong>. 30 30 {% block userlinks %} 31 {% block userlinks_viewsite %} 32 <a href="/">{% trans 'View site' %}</a> / 33 {% endblock %} 31 34 {% url 'django-admindocs-docroot' as docsroot %} 32 35 {% if docsroot %} 33 36 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a> /