Author: lukeplant Date: 2010-12-13 07:20:02 -0600 (Mon, 13 Dec 2010) New Revision: 14897
Modified: django/trunk/django/contrib/admin/templates/admin/pagination.html Log: Reverted [13998] because it never worked. Refs #5425, #14844 Modified: django/trunk/django/contrib/admin/templates/admin/pagination.html =================================================================== --- django/trunk/django/contrib/admin/templates/admin/pagination.html 2010-12-12 23:03:24 UTC (rev 14896) +++ django/trunk/django/contrib/admin/templates/admin/pagination.html 2010-12-13 13:20:02 UTC (rev 14897) @@ -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 %} <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> -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.