diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2011-09-20 18:30:06 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2011-09-20 18:30:06 +0000 |
| commit | aaf77c1676e44019abe544911ff7a06eb2690295 (patch) | |
| tree | f73ab5be90d41006ee52ca8942cfb542ea662a0f /django/contrib/admindocs/templates/admin_doc/missing_docutils.html | |
| parent | 7b21bfc0745f92f83a6826a3d3e58797fb74e326 (diff) | |
Converted internal link generation in the admin and admin document generator to use named URLs.
Thanks to Florian Apolloner for both the initial patch and his final push to get
this fixed, to Dario Ocles for his great work on the admin templates and
switching the admin_doc application to also use named URLs, to Mikko Hellsing
for his comments and to Jannis and Julien for their review and design guidance.
Fixes #15294.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admindocs/templates/admin_doc/missing_docutils.html')
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/missing_docutils.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/missing_docutils.html b/django/contrib/admindocs/templates/admin_doc/missing_docutils.html index 97c9d4711c..34c18ffb7d 100644 --- a/django/contrib/admindocs/templates/admin_doc/missing_docutils.html +++ b/django/contrib/admindocs/templates/admin_doc/missing_docutils.html @@ -1,6 +1,12 @@ {% extends "admin/base_site.html" %} {% load i18n %} -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">Home</a> › Documentation</div>{% endblock %} +{% load url from future %} + +{% block breadcrumbs %} +<div class="breadcrumbs"> +<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> +› {% trans 'Documentation' %}</a> +</div> {% block title %}Please install docutils{% endblock %} {% block content %} |
