{% load i18n %} {% if items %} {% if is_searching %}

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

{% endif %} {% include "wagtailsnippets/snippets/list.html" with choosing=1 %} {% include "wagtailadmin/shared/pagination_nav.html" with items=items is_ajax=1 %} {% else %} {% if is_searching %}

{% blocktrans %}Sorry, no snippets match "{{ query_string }}"{% endblocktrans %}

{% else %} {% url 'wagtailsnippets:add' content_type.app_label content_type.model as wagtailsnippets_create_snippet_url %}

{% blocktrans %}You haven't created any {{ snippet_type_name }} snippets. Why not create one now{% endblocktrans %}

{% endif %} {% endif %}