App Engine Python SDK version 1.7.4 (2)
[gae.git] / python / lib / django_1_4 / django / contrib / admindocs / templates / admin_doc / template_tag_index.html
blob18e5d952987e08a9e9cbdd0be8fd8b0f5bba9e86
1 {% extends "admin/base_site.html" %}
2 {% load i18n %}
3 {% load url from future %}
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 'Tags' %}
11 </div>
12 {% endblock %}
13 {% block title %}Template tags{% endblock %}
15 {% block content %}
17 <h1>Template tag documentation</h1>
19 <div id="content-main">
20 {% regroup tags|dictsort:"library" by library as tag_libraries %}
21 {% for library in tag_libraries %}
22 <div class="module">
23 <h2>{% firstof library.grouper "Built-in tags" %}</h2>
24 {% if library.grouper %}<p class="small quiet">To use these tags, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the tag.</p><hr />{% endif %}
25 {% for tag in library.list|dictsort:"name" %}
26 <h3 id="{{ library.grouper|default_if_none:"built_in" }}-{{ tag.name }}">{{ tag.name }}</h3>
27 <h4>{{ tag.title|striptags }}</h4>
28 {{ tag.body }}
29 {% if not forloop.last %}<hr />{% endif %}
30 {% endfor %}
31 </div>
32 {% endfor %}
33 </div>
35 {% endblock %}
37 {% block sidebar %}
39 <div id="content-related">
41 {% regroup tags|dictsort:"library" by library as tag_libraries %}
42 {% for library in tag_libraries %}
43 <div class="module">
44 <h2>{% firstof library.grouper "Built-in tags" %}</h2>
45 <ul>
46 {% for tag in library.list|dictsort:"name" %}
47 <li><a href="#{{ library.grouper|default_if_none:"built_in" }}-{{ tag.name }}">{{ tag.name }}</a></li>
48 {% endfor %}
49 </ul>
50 </div>
51 {% endfor %}
53 </div>
55 {% endblock %}