0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Show total count of found snippets on snippet listing as well

This commit is contained in:
Karl Hobley 2015-08-26 15:57:03 +01:00
parent 7f7252bf44
commit 2242244c4b

View File

@ -2,7 +2,7 @@
{% if items %}
{% if is_searching %}
<h2>
{% blocktrans count counter=items|length %}
{% blocktrans count counter=items.paginator.count %}
There is one match
{% plural %}
There are {{ counter }} matches