Hello site
[auf_framonde.git] / eggs / Django-1.4.5-py2.7.egg / django / contrib / admindocs / templates / admin_doc / template_tag_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 'Tags' %}
11 </div>
12 {% endblock %}
13 {% block title %}Template tags{% endblock %}
14
15 {% block content %}
16
17 <h1>Template tag documentation</h1>
18
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>
34
35 {% endblock %}
36
37 {% block sidebar %}
38
39 <div id="content-related">
40
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 %}
52
53 </div>
54
55 {% endblock %}