@pageContainer>
<@pageColumn>
<@pageHeader title='#i18n{mydashboard.managePanels.title}'>
<@aButton href='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp?view=createPanel' buttonIcon='plus' title='#i18n{mydashboard.managePanels.buttonAdd}' color='primary' />
@pageHeader>
<@messages infos=infos! />
<@table>
|
#i18n{mydashboard.managePanels.columnCode} |
#i18n{mydashboard.managePanels.columnTitle} |
#i18n{mydashboard.managePanels.columnComponentList} |
#i18n{portal.util.labelActions} |
<#list panel_list as panel>
| <#if panel.default><@tag color='success' tagIcon='check'>#i18n{mydashboard.managePanels.defaultLabel}@tag>#if> |
${panel.code!} |
${panel.title!} |
<#if (map_panel_list_dashboard_component["${panel.id?c}"])??>
<#assign listDashboard = map_panel_list_dashboard_component["${panel.id?c}"] />
<#if listDashboard??>
<#list listDashboard as component>
- ${(map_dashboard_component[component.idDashboard!])!}
#list>
#if>
#if>
|
<@aButton href='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp?view=modifyPanel&id=${panel.id?c}' buttonIcon='edit' title='#i18n{portal.util.labelModify}' color='primary' size='sm' />
<@aButton href='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp?view=confirmRemovePanel&id=${panel.id?c}' buttonIcon='trash' title='#i18n{portal.util.labelDelete}' color='danger' size='sm' />
|
#list>
@table>
<@paginationAdmin paginator=paginator combo=1 />
@pageColumn>
@pageContainer>