<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{profiles.action.manage_view_assignment.name}'> <#if profile.actions?exists> <#list profile.actions as action> <#if action.permission!='DELETE_DELETE'><#assign color='primary' /><#else><#assign color='danger' /> <@aButton href='${action.url}?profile_key=${profile.key}' title='${action.description}' hideTitle=['all'] buttonIcon='${action.iconUrl} me-1' color=color /> <@item_navigation item_navigator=item_navigator /> <#if available_list?size gt 0 > <@tform name='assign-view-profile' method='post' action='jsp/admin/plugins/profiles/DoAssignViewProfile.jsp' boxed=true> <@input type='hidden' name='profile_key' value='${profile.key}' /> <@fieldSet legend='#i18n{profiles.assign_rights_profile.profileKey} : ${profile.key}'> <#list available_list as available_item><@radioButton labelKey='${available_item.code}' name='view_key' value='${available_item.code}' checked=(assigned_view?exists && available_item.code == assigned_view.key) /> <@radioButton labelKey='#i18n{profiles.assign_view_profile.noValue}' name='view_key' value='' checked=!assigned_view?exists /> <#if permission> <@formGroup> <@button type='submit' title='#i18n{profiles.assign_view_profile.labelButtonValidate}' buttonIcon='device-floppy' /> <#else> <@empty title='#i18n{profiles.assign_view_profile.noViewToAssign}' />