{#- A dashboard's role list: the project's base.html around the role table and its delete modal. Context from RoleManagementFlow: table, roles_url, new_url. -#} {% extends "base.html" %} {% from "oldman/dashboard/components/page_head.html" import page_head with context %} {% from "oldman/dashboard/components/modal.html" import modal %} {% block title %}{{ _("Roles") }} ยท {{ site_name() }}{% endblock %} {% block content %}
{% call page_head(_("Roles")) %} {{ _("New Role") }} {% endcall %}

{{ _("Roles List") }}

{{ table.render_shell(html_id="roles-table", data_format="json") }}
{#- The delete modal the row menu opens (oldman.apps.roles.management.ROLE_DELETE_MODAL). -#} {% call modal( "role-delete-modal", _("Delete Role"), component="modal", close_label=_("Close"), dialog_scrollable=true, inline_hidden_style=true, remote_content=true ) %}

{{ _("Select a row action to continue.") }}

{% endcall %} {% endblock %}