<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{portal.workgroup.manage_workgroups.pageTitle}'> <#if workgroups_list?size gt 0> <@tform method='post' type='inline'> <@formGroup labelFor='search_workgroup' labelKey='#i18n{portal.system.manage_plugins.buttonFilter}' hideLabel=['all'] formStyle='inline'> <@inputGroup> <@input type='text' name='search_workgroup' id='search_workgroup' placeHolder='#i18n{portal.system.manage_plugins.buttonFilter}' params='autocomplete="off" addons' /> <@button color='primary' title='#i18n{portal.system.manage_plugins.buttonFilter}' buttonIcon='filter' hideTitle=['all'] /> <@offcanvas id='search-workgroups' title='#i18n{portal.workgroup.manage_workgroups.search_workgroups.buttonSearch}' position='end' btnTitle='#i18n{portal.workgroup.manage_workgroups.search_workgroups.buttonSearch}' btnIcon='search'> <@tform method='post' name='search_workgroups' action='jsp/admin/workgroup/ManageWorkgroups.jsp' id='workgroupSearch'> <@formGroup title='#i18n{portal.workgroup.manage_workgroups.search_workgroups.labelKey}' labelFor='key' rows=2> <@input type='text' id='key' name='search_key' value='${search_admin_workgroup_filter.key}' maxlength=50 placeHolder='#i18n{portal.workgroup.manage_workgroups.search_workgroups.labelKey}' size=''/> <@formGroup title='#i18n{portal.workgroup.manage_workgroups.search_workgroups.labelDescription}' labelFor='description' rows=2> <@input type='text' id='description' name='search_description' value='${search_admin_workgroup_filter.description}' maxlength=50 placeHolder='#i18n{portal.workgroup.manage_workgroups.search_workgroups.labelDescription}' size=''/> <@formGroup rows=2> <@button type='submit' buttonIcon='search' name='search_is_search' title='#i18n{portal.workgroup.manage_workgroups.search_workgroups.buttonSearch}' color='primary' size='' /> <@tform method='post' action='jsp/admin/workgroup/ManageWorkgroups.jsp'> <#if search_is_search > <@input type='hidden' name='search_is_search' value='true' /> <@input type='hidden' name='search_key' value='${search_admin_workgroup_filter.key}' /> <@input type='hidden' name='search_description' value='${search_admin_workgroup_filter.description}' /> <@offcanvas targetUrl='jsp/admin/workgroup/CreateWorkgroup.jsp' targetElement='#create-workgroup-form' redirectForm=false id='template-create-role' title='#i18n{portal.workgroup.manage_workgroups.buttonLabelNewGroup}' btnTitle='#i18n{portal.workgroup.manage_workgroups.buttonLabelNewGroup}' btnIcon='plus' position='end' /> <#if workgroups_list?size gt 0> <@manageFeature> <#list workgroups_list as workgroup > <@manageFeatureItem class='item-labels'> <@manageFeatureItemColumn class='searchable' auto=true >${workgroup.key} - ${workgroup.description} <@manageFeatureItemColumn align='end'> <@offcanvas targetUrl='jsp/admin/workgroup/ModifyWorkgroup.jsp?workgroup_key=${workgroup.key}' targetElement='#modify_workgroup_form' redirectForm=false id='template-modify-workgroup_${workgroup.key}' title='#i18n{portal.util.modify_workgroup.titleModificationForm}' btnTitle='#i18n{portal.workgroup.modify_workgroup.titleModificationForm}' btnTitle='#i18n{portal.util.labelModify}' btnIcon='edit me-1' position='end' /> <@aButton href='jsp/admin/workgroup/AssignUsersWorkgroup.jsp?workgroup_key=${workgroup.key}' title='#i18n{portal.workgroup.manage_workgroups.buttonLabelAssignUsers} ' buttonIcon='user' /> <@aButton href='jsp/admin/workgroup/RemoveWorkgroup.jsp?workgroup_key=${workgroup.key}' title='#i18n{portal.workgroup.manage_workgroups.buttonLabelDelete} ' buttonIcon='trash' color='danger' class='ms-1' /> <#else> <@empty /> <#if workgroups_list?size gt 5><@paginationAdmin paginator=paginator showcount=1 combo=0 />