<@cContainer> <@cRow class='border-bottom pb-m align-items-center'> <@cCol> <@cTitle level=2>#i18n{mydashboard.modifyDashboards.pageTitle} <@cRow> <@cCol> <@cForm action='jsp/site/Portal.jsp'> <@cInput type='hidden' name='page' value='mydashboard' /> <@cInput type='hidden' name='action' value='doModifyDashboards' /> <@chList class='list-group mt-m'> <#list listDashboardsConfig as dashboardConfiguration> <@chItem class='list-group-item d-flex justify-content-between align-items-center'> <#assign isChecked><#if dashboardConfiguration.hideDashboard>false<#else>true <@cInline> <@cBadge class='main-info-bg-color me-sm'>${dashboardConfiguration.order} ${listComponentsDescription[dashboardConfiguration.myDashboardComponentId]!} <@cBlock class='d-flex align-items-center'> <#if dashboardConfiguration.order gt 1> <@cBtn label='#i18n{mydashboard.modifyDashboards.moveUp}' class='primary' params='form="move-up-${dashboardConfiguration.myDashboardComponentId}"'> <@cIcon name='arrow-up' /> <#if dashboardConfiguration_has_next> <@cBtn label='#i18n{mydashboard.modifyDashboards.moveDown}' class='small btn-primary' params='form="move-down-${dashboardConfiguration.myDashboardComponentId}"'> <@cIcon name='arrow-down' /> <@cCheckbox class='ms-m' name='${dashboardConfiguration.myDashboardComponentId}_display' checked=isChecked?boolean label='#i18n{mydashboard.modifyDashboards.labelDisplayDashboard}' /> <@cRow class='mt-m'> <@cCol class='d-flex justify-content-end'> <@cBtn label='#i18n{portal.util.labelValidate}' /> <@cBtn label='#i18n{portal.util.labelBack}' class='secondary' params='name="back"' /> <#list listDashboardsConfig as dashboardConfiguration> <#list ['up', 'down'] as direction> <@cForm action='jsp/site/Portal.jsp' id='move-${direction}-${dashboardConfiguration.myDashboardComponentId}' class='d-none'> <@cInput type='hidden' name='page' value='mydashboard' /> <@cInput type='hidden' name='action' value='doMoveDashboard' /> <@cInput type='hidden' name='moveUp' value='${(direction == "up")?c}' /> <@cInput type='hidden' name='myDashboardComponentId' value='${dashboardConfiguration.myDashboardComponentId}' />