{% load i18n %} {% if object_list %} {% if is_searching or is_filtering %}

{% blocktrans trimmed count counter=page_obj.paginator.count %} There is {{ counter }} match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% endif %} {% include "wagtailsnippets/snippets/list.html" %} {% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj linkurl=index_url %} {% else %} {% if is_searching or is_filtering %}

{% blocktrans trimmed with snippet_type_name_plural=model_opts.verbose_name_plural %}Sorry, no {{ snippet_type_name_plural }} match your query{% endblocktrans %}

{% else %}

{% blocktrans trimmed with snippet_type_name_plural=model_opts.verbose_name_plural wagtailsnippets_create_url=add_url %}No {{ snippet_type_name_plural }} have been created. Why not add one?{% endblocktrans %}

{% endif %} {% endif %}