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

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

{% endif %} {% component table %} {% url 'wagtailsnippets:choose_results' model_opts.app_label model_opts.model_name as pagination_base_url %} {% include "wagtailadmin/shared/pagination_nav.html" with items=items linkurl=pagination_base_url %} {% else %} {% if is_searching %}

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

{% else %} {% url add_url_name as wagtailsnippets_create_snippet_url %}

{% blocktrans trimmed with snippet_type_name=model_opts.verbose_name %}You haven't created any {{ snippet_type_name }} snippets. Why not create one now?{% endblocktrans %}

{% endif %} {% endif %}