2005-07-16 11:46:17 +08:00
|
|
|
{% extends "base_site" %}
|
|
|
|
|
|
|
|
{% block coltype %}colSM{% endblock %}
|
|
|
|
|
2005-07-29 23:25:31 +08:00
|
|
|
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Views</div>{% endblock %}
|
|
|
|
|
2005-07-16 11:46:17 +08:00
|
|
|
{% block title %}Views{% endblock %}
|
2005-07-29 23:25:31 +08:00
|
|
|
|
2005-07-16 11:46:17 +08:00
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<h1>View documentation</h1>
|
|
|
|
|
2005-07-29 23:25:31 +08:00
|
|
|
<div id="content-main">
|
2005-07-16 11:46:17 +08:00
|
|
|
|
|
|
|
{% regroup views|dictsort:"site_id" by site as views_by_site %}
|
|
|
|
{% for site_views in views_by_site %}
|
|
|
|
<div class="module">
|
|
|
|
<h2 id="site{{ site_views.grouper.id }}">Views by URL on {{ site_views.grouper.name }}</h2>
|
|
|
|
|
|
|
|
{% for view in site_views.list|dictsort:"url" %}
|
|
|
|
<h3><a href="{{ view.module }}.{{ view.name }}/"/>{{ view.url|escape }}</a></h3>
|
|
|
|
<p class="small quiet">({{ view.module }}.{{ view.name }})</p>
|
|
|
|
<p>{{ view.title }}</p>
|
|
|
|
<hr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
|
2005-07-29 23:25:31 +08:00
|
|
|
</div>
|
2005-07-16 11:46:17 +08:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block sidebar %}
|
|
|
|
<div id="content-related" class="sidebar">
|
|
|
|
<div class="module">
|
|
|
|
<h2>Jump to site</h2>
|
|
|
|
<ul>
|
|
|
|
{% regroup views|dictsort:"site_id" by site as views_by_site %}
|
|
|
|
{% for site_views in views_by_site %}
|
|
|
|
<li><a href="#site{{ site_views.grouper.id }}">{{ site_views.grouper.name }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2005-07-29 23:25:31 +08:00
|
|
|
{% endblock %}
|