Ticket #3491: admin-patch.diff

File admin-patch.diff, 1.3 KB (added by Malcolm Tredinnick, 18 years ago)

Copy of upload to dpaste

  • django/contrib/admin/templates/admin/base.html

     
    2222        {% block branding %}{% endblock %}
    2323        </div>
    2424        {% if user.is_authenticated and user.is_staff %}
    25         <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="doc/">{% trans 'Documentation' %}</a> / <a href="password_change/">{% trans 'Change password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
     25        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="{% url django.contrib.admin.views.doc.doc_index %}">{% trans 'Documentation' %}</a> / <a href="{% url django.contrib.auth.views.password_change %}">{% trans 'Change password' %}</a> / <a href="{% url django.contrib.auth.views.logout %}">{% trans 'Log out' %}</a>{% endblock %}</div>
    2626        {% endif %}
    2727        {% block nav-global %}{% endblock %}
    2828    </div>
Back to Top