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

« back to all changes in this revision

Viewing changes to django/contrib/admin/templates/admin/change_list.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 admin_static admin_list %}
3
 
{% load admin_urls %}
 
2
{% load i18n admin_urls admin_static admin_list %}
4
3
 
5
4
{% block extrastyle %}
6
5
  {{ block.super }}
54
53
        <ul class="object-tools">
55
54
          {% block object-tools-items %}
56
55
            <li>
57
 
              <a href="{% url cl.opts|admin_urlname:'add' %}{% if is_popup %}?_popup=1{% endif %}" class="addlink">
 
56
              {% url cl.opts|admin_urlname:'add' as add_url %}
 
57
              <a href="{% add_preserved_filters add_url is_popup %}" class="addlink">
58
58
                {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
59
59
              </a>
60
60
            </li>
64
64
    {% endblock %}
65
65
    {% if cl.formset.errors %}
66
66
        <p class="errornote">
67
 
        {% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
 
67
        {% if cl.formset.total_error_count == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
68
68
        </p>
69
69
        {{ cl.formset.non_form_errors }}
70
70
    {% endif %}