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

{% blocktrans trimmed count counter=users|length %} There is {{ counter }} match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% search_other %} {% endif %} {% include "wagtailusers/users/list.html" %} {# call pagination_nav with no linkurl, to generate general-purpose links like #} {% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj %} {% else %} {% if is_searching %}

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

{% search_other %} {% else %} {% url 'wagtailusers_users:add' as wagtailusers_add_url %} {% if group %} {% with group.name as group_name %}

{% blocktrans trimmed %}The {{ group_name }} group has no users configured. Why not add some?{% endblocktrans %}

{% endwith %} {% else %}

{% blocktrans trimmed %}There are no users configured. Why not add some?{% endblocktrans %}

{% endif %} {% endif %} {% endif %}