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

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

{% endif %} {% include "wagtailnews/chooser/list.html" %} {% paginate items %} {% else %} {% if is_searching %}

{% blocktrans %}Sorry, no news items match "{{ query_string }}"{% endblocktrans %}

{% else %} {% url 'wagtailnews:create' pk=pk as wagtailnews:create_url %}

{% blocktrans %}No {{ newsitem_type_name_plural }} have been created. Why not add one?{% endblocktrans %}

{% endif %} {% endif %}