From 11f8bd9d9af76ac2e514fde200266a158f73272d Mon Sep 17 00:00:00 2001 From: Wilson Miner Date: Thu, 12 Jan 2006 17:35:57 +0000 Subject: [PATCH] Added a link to admin docs in the userlinks block in admin templates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1928 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/base.html | 2 +- django/contrib/admin/templates/admin/change_form.html | 2 +- django/contrib/admin/templates/admin/change_list.html | 2 +- django/contrib/admin/templates/admin/delete_confirmation.html | 2 +- django/contrib/admin/templates/admin/object_history.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index fa0b2a9663..3d35423ac3 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -20,7 +20,7 @@ {% block branding %}{% endblock %} {% if not user.is_anonymous %} -
{% trans 'Welcome,' %} {% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}.
{% block userlinks %}{% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %}
+
{% trans 'Welcome,' %} {% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}.
{% block userlinks %}{% trans 'Documentation' %} / {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %}
{% endif %} {% block nav-global %}{% endblock %}
diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index b8133d8376..982a29d332 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -6,7 +6,7 @@ {% endblock %} {% block coltype %}{{ bound_manipulator.coltype }}{% endblock %} {% block bodyclass %}{{ app_label }}-{{ bound_manipulator.object_name.lower }} change-form{% endblock %} -{% block userlinks %}{% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} +{% block userlinks %}{% trans 'Documentation' %} / {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} {% block breadcrumbs %}{% if not is_popup %}