{% load i18n wagtailadmin_tags %} {% if groups %} {% component table %} {% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj linkurl="wagtailusers_groups:index" %} {% elif is_searching %}

{% blocktrans trimmed with query=search_form.q.value %}Sorry, no groups match "{{ query }}"{% endblocktrans %}

{% else %} {% url 'wagtailusers_groups:add' as wagtailusers_create_group_url %}

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

{% endif %}