~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/admin/templates/admin_doc/view_index.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "admin/base_site.html" %}
2
 
{% load i18n %}
3
 
{% block coltype %}colSM{% endblock %}
4
 
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> &rsaquo; <a href="../">Documentation</a> &rsaquo; Views</div>{% endblock %}
5
 
{% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}
6
 
{% block title %}Views{% endblock %}
7
 
 
8
 
{% block content %}
9
 
 
10
 
<h1>View documentation</h1>
11
 
 
12
 
{% regroup views|dictsort:"site_id" by site as views_by_site %}
13
 
 
14
 
<div id="content-related" class="sidebar">
15
 
<div class="module">
16
 
<h2>Jump to site</h2>
17
 
<ul>
18
 
    {% for site_views in views_by_site %}
19
 
    <li><a href="#site{{ site_views.grouper.id }}">{{ site_views.grouper.name }}</a></li>
20
 
    {% endfor %}
21
 
</ul>
22
 
</div>
23
 
</div>
24
 
 
25
 
<div id="content-main">
26
 
 
27
 
{% for site_views in views_by_site %}
28
 
<div class="module">
29
 
<h2 id="site{{ site_views.grouper.id }}">Views by URL on {{ site_views.grouper.name }}</h2>
30
 
 
31
 
{% for view in site_views.list|dictsort:"url" %}
32
 
{% ifchanged %}
33
 
<h3><a href="{{ view.module }}.{{ view.name }}/"/>{{ view.url|escape }}</a></h3>
34
 
<p class="small quiet">View function: {{ view.module }}.{{ view.name }}</p>
35
 
<p>{{ view.title }}</p>
36
 
<hr>
37
 
{% endifchanged %}
38
 
{% endfor %}
39
 
</div>
40
 
{% endfor %}
41
 
</div>
42
 
{% endblock %}
43