{% extends "org-base.html" %} {% from "ui.html" import csrf_field, action, people_list with context %} {% block section %} {% set group_url = "/o/" ~ org.slug ~ "/-/groups/" ~ group.id %} {% set role_labels = [("reader", _("Reader")), ("contributor", _("Contributor"))] %}
{{ group.description }}
{% endif %}| {{ _("Account") }} | {{ _("Actions") }} |
|---|---|
| {{ member.display_name }} @{{ member.username }} |
{{ action(group_url ~ "/members/" ~ member.username ~ "/remove", _("Remove"), confirm=_("Remove {name} from the group {group}? They lose the access it gives, unless they have it otherwise.", name=member.display_name, group=group.name), kind="danger") }} |
| {{ _("Nobody in this group yet.") }} | |
| {{ _("Space") }} | {{ _("Role") }} | {{ _("Actions") }} |
|---|---|---|
| {{ item.name }}{% if item.restricted %} {{ _("Restricted") }}{% endif %} | {{ action(group_url ~ "/spaces/" ~ item.slug ~ "/remove", _("Remove"), confirm=_("Remove the access of {group} to {space}? Its members lose it, unless they have it otherwise.", group=group.name, space=item.name), kind="danger") }} | |
| {{ _("This group opens no space yet.") }} | ||
{{ _("Its members lose the access it gives, unless they have it otherwise. Their accounts and the spaces are not touched.") }}
{{ action(group_url ~ "/delete", _("Delete the group"), confirm=_("Delete the group {group}? Its members lose the access it gives, unless they have it otherwise.", group=group.name), kind="danger", small=false) }}