diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-12-01 06:52:16 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-12-01 06:52:16 +0000 |
| commit | 15ea158c967089e2ff0bd3efd3839f51b281f50e (patch) | |
| tree | aba684071a81d36bd85f6cde83b514f630cb921e /django/contrib/admin/templates/admin_doc/model_detail.html | |
| parent | e7e991e86b9f4a3e4e89bcbc08dec32606538250 (diff) | |
Fixed #893 -- Admin 'change password' and 'log out' links no longer assume admin lives at '/admin/'. Thanks, deric@monowerks.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates/admin_doc/model_detail.html')
| -rw-r--r-- | django/contrib/admin/templates/admin_doc/model_detail.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/django/contrib/admin/templates/admin_doc/model_detail.html b/django/contrib/admin/templates/admin_doc/model_detail.html index d6fba2279f..31e5520aa0 100644 --- a/django/contrib/admin/templates/admin_doc/model_detail.html +++ b/django/contrib/admin/templates/admin_doc/model_detail.html @@ -1,15 +1,11 @@ {% extends "admin/base_site" %} - +{% load i18n %} +{% block userlinks %}<a href="../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../logout/">{% trans 'Log out' %}</a>{% endblock %} {% block extrahead %} - {{ block.super }} - <style type="text/css"> - .module table { width:100%; } - </style> - {% endblock %} {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › <a href="../">Models</a> › {{ name }}</div>{% endblock %} |
