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