{% extends "layout.twig" %} {% block title %}${ "Manage Groups" | translate }{% endblock %} {% block content %}

${ "Need more detail?" | translate }

{% if visitor.group.can("add_group") %} add ${ "New Group" | translate } {% endif %}

${ "Search all groups for user…" | translate }


${ "Groups" | translate }

{% for group in groups.paginated %}

${ group.edit_link('edit '~("edit" | translate)) } ${ group.delete_link('delete '~("delete" | translate)) } {% if group.id == site.guest_group %} ${ "“%s” is the group for guests." | translate | format(group.name) } {% elseif group.id == site.default_group %} ${ "“%s” is the default group and has %d member." | translate_plural("“%s” is the default group and has %d members.", group.size) | format(group.name, group.size, route.url("/admin/?action=manage_users&query=group%3A"~group.name)) } {% else %} ${ "“%s” has %d member." | translate_plural("“%s” has %d members.", group.size) | format(group.name, group.size, route.url("/admin/?action=manage_users&query=group%3A"~group.name)) } {% endif %}

{% endfor %} {% if groups.paginated and groups.pages > 1 %} {% endif %} {% endblock %}