{% 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 "wagtailpolls/list.html" %} {% include "wagtailadmin/shared/pagination_nav.html" with items=items is_searching=is_searching %} {% else %} {% if is_searching %}

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

{% else %} {% url 'wagtailpolls_create' as wagtailpolls_create_url %}

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

{% endif %} {% endif %}