<@row> <@columns> <@box> <@boxHeader title='#i18n{portal.rbac.manage_roles.pageTitle}' skipHeader=true > <@tform type='inline' method='post' action='jsp/admin/rbac/CreateRole.jsp'> <@button type='submit' buttonIcon='plus' title='#i18n{portal.rbac.manage_roles.buttonLabelNewRole}' size='sm' hideTitle=['xs','sm'] style='card-header-icon' /> <@boxBody> <#if role_list?size gt 1> <@table > <@tr> <@th> #i18n{portal.rbac.manage_roles.columnTitleKey} <@sort jsp_url="jsp/admin/rbac/ManageRoles.jsp" attribute="key" /> <@th>#i18n{portal.rbac.manage_roles.columnTitleDescription} <@sort jsp_url="jsp/admin/rbac/ManageRoles.jsp" attribute="description" /> <@th>#i18n{portal.rbac.manage_roles.columnTitleActions} <@tableHeadBodySeparator /> <#list role_list as role> <@tr> <@td>${role.key} <@td>${role.description} <@td> <@aButton href='jsp/admin/rbac/ViewRoleDescription.jsp?role_key=${role.key}' title='#i18n{portal.rbac.view_role_description.labelDescription} (${role.description})' hideTitle=['all'] buttonIcon='edit' size='sm' color='primary' /> <@aButton href='jsp/admin/rbac/AssignUsersRole.jsp?role_key=${role.key}' title='#i18n{portal.rbac.manage_roles.buttonLabelAssignUsers} (${role.description})' hideTitle=['all'] buttonIcon='user' size='sm' color='primary' /> <#if exist_front_role_map?has_content && exist_front_role_map[role.key]> <@aButton href='jsp/admin/role/ModifyPageRole.jsp?role=${role.key}' title='#i18n{portal.rbac.manage_roles.buttonLabelViewFrontRole} (${role.key})' buttonIcon='link' size='sm' hideTitle=['all'] color='primary' /> <@aButton href='jsp/admin/rbac/DoConfirmRemoveRole.jsp?role_key=${role.key}' title='#i18n{portal.rbac.manage_roles.buttonLabelDelete} (${role.description})' hideTitle=['all'] buttonIcon='trash' color='danger' size='sm' /> <#else> <@empty /> <@paginationAdmin paginator=paginator combo=1 />