~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/admin/templates/admin/change_form.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
<div class="breadcrumbs">
17
17
     <a href="../../../">{% trans "Home" %}</a> &rsaquo;
18
18
     <a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo; 
19
 
     <a href="../">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
 
19
     {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo; 
20
20
     {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
21
21
</div>
22
22
{% endif %}{% endblock %}
35
35
{% if save_on_top %}{% submit_row %}{% endif %}
36
36
{% if errors %}
37
37
    <p class="errornote">
38
 
    {% blocktrans count errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
 
38
    {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
39
39
    </p>
40
40
    <ul class="errorlist">{% for error in adminform.form.non_field_errors %}<li>{{ error }}</li>{% endfor %}</ul>
41
41
{% endif %}