replace the 'static' template menu by a dashboard menu

SVN:trunk[2063]
This commit is contained in:
Denis Flaven
2012-05-30 10:50:49 +00:00
parent 2e26c056f5
commit d30cf0655d
2 changed files with 2 additions and 24 deletions

View File

@@ -4759,10 +4759,10 @@
<menu id="ChangeManagement" xsi:type="MenuGroup" _delta="define">
<rank>50</rank>
</menu>
<menu id="Change:Overview" xsi:type="TemplateMenuNode" _delta="define">
<menu id="Change:Overview" xsi:type="DashboardMenuNode" _delta="define">
<rank>0</rank>
<parent>ChangeManagement</parent>
<template_file>overview.html</template_file>
<template_file>overview.xml</template_file>
</menu>
<menu id="NewChange" xsi:type="NewObjectMenuNode" _delta="define">
<rank>1</rank>

View File

@@ -1,22 +0,0 @@
<h1><itopstring>UI:ChangeMgmtMenuOverview:Title</itopstring></h1>
<table border="0" padding="5" class="layout" width="100%">
<tr>
<td class="dashboard">
<itopblock BlockClass="DisplayBlock" type="open_flash_chart" parameters="chart_type:bars;group_by:finalclass;chart_title:UI-ChangeManagementOverview-ChangeByType" asynchronous="false" encoding="text/oql">SELECT Change</itopblock>
</td>
<td class="dashboard">
<h2><itopstring>UI-ChangeManagementOverview-ChangeUnassigned</itopstring></h2>
<itopblock BlockClass="DisplayBlock" type="list" parameters="dashboard:true" asynchronous="false" encoding="text/oql">SELECT Change WHERE status = 'new'</itopblock>
</td>
</tr>
<tr>
<td class="dashboard">
<h2><itopstring>UI-ChangeManagementOverview-ChangeWithOutage</itopstring></h2>
<itopblock BlockClass="DisplayBlock" type="list" parameters="dashboard:true" asynchronous="false" encoding="text/oql">SELECT Change WHERE outage = 'yes'</itopblock>
</td>
<td>
&nbsp;
</td>
</tr>
</table>