{% extends "wagtailadmin/generic/index_results.html" %} {% load i18n wagtailadmin_tags %} {% block results %} {% include "wagtailusers/users/list.html" %} {% endblock %} {% block no_results_message %} {% if is_searching %}

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

{% else %} {% if group %} {% with group.name as group_name %}

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

{% endwith %} {% else %}

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

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