~ubuntu-branches/ubuntu/jaunty/python-django/jaunty

« back to all changes in this revision

Viewing changes to django/contrib/admindocs/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 title %}Views{% endblock %}
 
6
 
 
7
{% block content %}
 
8
 
 
9
<h1>View documentation</h1>
 
10
 
 
11
{% regroup views|dictsort:"site_id" by site as views_by_site %}
 
12
 
 
13
<div id="content-related" class="sidebar">
 
14
<div class="module">
 
15
<h2>Jump to site</h2>
 
16
<ul>
 
17
    {% for site_views in views_by_site %}
 
18
    <li><a href="#site{{ site_views.grouper.id }}">{{ site_views.grouper.name }}</a></li>
 
19
    {% endfor %}
 
20
</ul>
 
21
</div>
 
22
</div>
 
23
 
 
24
<div id="content-main">
 
25
 
 
26
{% for site_views in views_by_site %}
 
27
<div class="module">
 
28
<h2 id="site{{ site_views.grouper.id }}">Views by URL on {{ site_views.grouper.name }}</h2>
 
29
 
 
30
{% for view in site_views.list|dictsort:"url" %}
 
31
{% ifchanged %}
 
32
<h3><a href="{{ view.module }}.{{ view.name }}/">{{ view.url|escape }}</a></h3>
 
33
<p class="small quiet">View function: {{ view.module }}.{{ view.name }}</p>
 
34
<p>{{ view.title }}</p>
 
35
<hr />
 
36
{% endifchanged %}
 
37
{% endfor %}
 
38
</div>
 
39
{% endfor %}
 
40
</div>
 
41
{% endblock %}
 
42
 
 
43