Hello site
[auf_framonde.git] / eggs / Django-1.4.5-py2.7.egg / django / contrib / admindocs / templates / admin_doc / view_index.html
1 {% extends "admin/base_site.html" %}
2 {% load i18n %}
3 {% load url from future %}
4
5 {% block coltype %}colSM{% endblock %}
6 {% block breadcrumbs %}
7 <div class="breadcrumbs">
8 <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
9 &rsaquo; <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a>
10 &rsaquo; {% trans 'Views' %}
11 </div>
12 {% endblock %}
13 {% block title %}Views{% endblock %}
14
15 {% block content %}
16
17 <h1>View documentation</h1>
18
19 {% regroup views|dictsort:"site_id" by site as views_by_site %}
20
21 <div id="content-related" class="sidebar">
22 <div class="module">
23 <h2>Jump to site</h2>
24 <ul>
25 {% for site_views in views_by_site %}
26 <li><a href="#site{{ site_views.grouper.id }}">{{ site_views.grouper.name }}</a></li>
27 {% endfor %}
28 </ul>
29 </div>
30 </div>
31
32 <div id="content-main">
33
34 {% for site_views in views_by_site %}
35 <div class="module">
36 <h2 id="site{{ site_views.grouper.id }}">Views by URL on {{ site_views.grouper.name }}</h2>
37
38 {% for view in site_views.list|dictsort:"url" %}
39 {% ifchanged %}
40 <h3><a href="{% url 'django-admindocs-views-detail' view=view.full_name %}">{{ view.url }}</a></h3>
41 <p class="small quiet">View function: {{ view.full_name }}</p>
42 <p>{{ view.title }}</p>
43 <hr />
44 {% endifchanged %}
45 {% endfor %}
46 </div>
47 {% endfor %}
48 </div>
49 {% endblock %}
50
51