equal
deleted
inserted
replaced
|
1 {% extends "admin/base_site.html" %} |
|
2 {% load i18n %} |
|
3 {% block coltype %}colSM{% endblock %} |
|
4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › 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 }}</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 |