Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Reverted [13998] because it never worked.

Refs #5425, #14844

Backport of [14897] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3c208d1cca091934ba28a3a86948ad362f9e1e1e 1 parent b734e35
Luke Plant authored December 13, 2010
2  django/contrib/admin/templates/admin/pagination.html
@@ -6,7 +6,7 @@
6 6
     {% paginator_number cl i %}
7 7
 {% endfor %}
8 8
 {% endif %}
9  
-{% blocktrans with cl.opts.verbose_name as verbose_name and cl.opts.verbose_name_plural as verbose_name_plural count cl.result_count as count %}{{ count }} {{ verbose_name }}{% plural %}{{ count }} {{ verbose_name_plural }}{% endblocktrans %}
  9
+{{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %}
10 10
 {% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
11 11
 {% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>{% endif %}
12 12
 </p>

0 notes on commit 3c208d1

Please sign in to comment.
Something went wrong with that request. Please try again.