{% extends "authentic2/manager/role_common.html" %} {% load i18n staticfiles django_tables2 %} {% block breadcrumb %} {{ block.super }} {{ object }} {% endblock %} {% block page_title %}{% trans "Role" %} - {{ title }}{% endblock %} {% block sidebar %}
{{ object.description }}
{% endblock %} {% block appbar %} {{ block.super }} {% if not object.is_internal and view.can_delete %} {% trans "Delete" %} {% else %} {% trans "Delete" %} {% endif %} {% if view.can_change and not object.is_internal %} {% trans "Edit" %} {% if ROLES_SHOW_PERMISSIONS %} {% trans "Permissions" %} {% endif %} {% else %} {% if not view.can_change %} {% trans "Edit" %} {% if ROLES_SHOW_PERMISSIONS %} {% trans "Permissions" %} {% endif %} {% else %} {% trans "Edit" %} {% if ROLES_SHOW_PERMISSIONS %} {% trans "Permissions" %} {% endif %} {% endif %} {% endif %} {% endblock %} {% block extra_scripts %} {{ block.super }} {{ choose_user_form.media }} {% endblock %} {% block main %} {% with row_link=1 url_name="a2-manager-user-edit" %} {% render_table table "authentic2/manager/role_members_table.html" %} {% endwith %} {% include "authentic2/manager/export_include.html" with export_view_name="a2-manager-role-members-export" %} {% if view.can_change %} {% endif %} {% endblock %}