Fixed #223 -- Changed breadcrumbs in admin doc templates to use relative, not absolute, URLs. Thanks, Drew Amato
git-svn-id: http://code.djangoproject.com/svn/django/trunk@337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
daf8467b37
commit
d4a9a4f83a
|
@ -1,6 +1,6 @@
|
|||
{% extends "base_site" %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › Bookmarklets</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Bookmarklets</div>{% endblock %}
|
||||
|
||||
{% block title %}Documentation bookmarklets{% endblock %}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "base_site" %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › Documentation</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">Home</a> › Documentation</div>{% endblock %}
|
||||
|
||||
{% block title %}Documentation{% endblock %}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "base_site" %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › Documentation</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">Home</a> › Documentation</div>{% endblock %}
|
||||
|
||||
{% block title %}Please install docutils{% endblock %}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › <a href="/doc/models/">Models</a> › {{ name }}</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › <a href="../">Models</a> › {{ name }}</div>{% endblock %}
|
||||
|
||||
{% block title %}Model: {{ name }}{% endblock %}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% block coltype %}colSM{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › Models</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Models</div>{% endblock %}
|
||||
|
||||
{% block title %}Models{% endblock %}
|
||||
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
{% extends "base_site" %}
|
||||
|
||||
|
||||
{% block coltype %}colSM{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › filters</div>{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › filters</div>{% endblock %}
|
||||
|
||||
{% block title %}Template filters{% endblock %}
|
||||
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
{% extends "base_site" %}
|
||||
|
||||
|
||||
{% block coltype %}colSM{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › Tags</div>{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Tags</div>{% endblock %}
|
||||
|
||||
{% block title %}Template tags{% endblock %}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "base_site" %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › <a href="/doc/views/">Views</a> › {{ name }}</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › <a href="../">Views</a> › {{ name }}</div>{% endblock %}
|
||||
|
||||
{% block title %}View: {{ name }}{% endblock %}
|
||||
|
||||
|
|
|
@ -2,21 +2,16 @@
|
|||
|
||||
{% block coltype %}colSM{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a> › <a href="/doc/">Documentation</a> › Views</div>{% endblock %}
|
||||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Views</div>{% endblock %}
|
||||
|
||||
{% block title %}Views{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
|
||||
<h1>View documentation</h1>
|
||||
|
||||
|
||||
<div id="content-main">
|
||||
|
||||
|
||||
{% regroup views|dictsort:"site_id" by site as views_by_site %}
|
||||
{% for site_views in views_by_site %}
|
||||
<div class="module">
|
||||
|
@ -34,7 +29,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
|
|
Loading…
Reference in New Issue