Skip to content
Browse files

Reverted [13998] because it never worked.

Refs #5425, #14844

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 05eb536 commit dc8c4f087980dc746e41bebc47a53f95a0cbb0c3 @spookylukey spookylukey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/pagination.html
View
2 django/contrib/admin/templates/admin/pagination.html
@@ -6,7 +6,7 @@
{% paginator_number cl i %}
{% endfor %}
{% endif %}
-{% 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 %}
+{{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %}
{% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
{% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>{% endif %}
</p>

0 comments on commit dc8c4f0

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