~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to django/contrib/admindocs/templates/admin_doc/template_filter_index.html

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2013-11-07 15:33:49 UTC
  • mfrom: (1.3.12)
  • Revision ID: package-import@ubuntu.com-20131107153349-e31sc149l2szs3jb
Tags: 1.6-1
* New upstream version. Closes: #557474, #724637.
* python-django now also suggests the installation of ipython,
  bpython, python-django-doc, and libgdal1.
  Closes: #636511, #686333, #704203
* Set package maintainer to Debian Python Modules Team.
* Bump standards version to 3.9.5, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "admin/base_site.html" %}
2
 
{% load i18n %}
 
2
{% load i18n %}{% load firstof from future %}
3
3
 
4
4
{% block coltype %}colSM{% endblock %}
5
5
{% block breadcrumbs %}
9
9
› {% trans 'Filters' %}
10
10
</div>
11
11
{% endblock %}
12
 
{% block title %}Template filters{% endblock %}
 
12
{% block title %}{% trans 'Template filters' %}{% endblock %}
13
13
 
14
14
{% block content %}
15
15
 
16
 
<h1>Template filter documentation</h1>
 
16
<h1>{% trans 'Template filter documentation' %}</h1>
17
17
 
18
18
<div id="content-main">
19
19
{% regroup filters|dictsort:"library" by library as filter_libraries %}
20
20
{% for library in filter_libraries %}
21
21
<div class="module">
22
 
    <h2>{% firstof library.grouper "Built-in filters" %}</h2>
23
 
    {% if library.grouper %}<p class="small quiet">To use these filters, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the filter.</p><hr />{% endif %}
 
22
    <h2>{% firstof library.grouper _("Built-in filters") %}</h2>
 
23
    {% if library.grouper %}<p class="small quiet">{% blocktrans with code="{"|add:"% load "|add:library.grouper|add:" %"|add:"}" %}To use these filters, put <code>{{ code }}</code> in your template before using the filter.{% endblocktrans %}</p><hr />{% endif %}
24
24
    {% for filter in library.list|dictsort:"name" %}
25
25
    <h3 id="{{ library.grouper|default:"built_in" }}-{{ filter.name }}">{{ filter.name }}</h3>
26
26
    {{ filter.title }}
40
40
{% regroup filters|dictsort:"library" by library as filter_libraries %}
41
41
{% for library in filter_libraries %}
42
42
<div class="module">
43
 
    <h2>{% firstof library.grouper "Built-in filters" %}</h2>
 
43
    <h2>{% firstof library.grouper _("Built-in filters") %}</h2>
44
44
    <ul>
45
45
    {% for filter in library.list|dictsort:"name" %}
46
46
        <li><a href="#{{ library.grouper|default:"built_in" }}-{{ filter.name }}">{{ filter.name }}</a></li>