replace the 'static' template menu by a dashboard menu

SVN:trunk[2068]
This commit is contained in:
Denis Flaven
2012-05-30 11:19:55 +00:00
parent 15a7517e4e
commit 04f9e823db
2 changed files with 28 additions and 1 deletions

View File

@@ -4762,7 +4762,7 @@
<menu id="Change:Overview" xsi:type="DashboardMenuNode" _delta="define">
<rank>0</rank>
<parent>ChangeManagement</parent>
<template_file>overview.xml</template_file>
<definition_file>overview.xml</definition_file>
</menu>
<menu id="NewChange" xsi:type="NewObjectMenuNode" _delta="define">
<rank>1</rank>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0"?>
<dashboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<layout>DashboardLayoutTwoCols</layout>
<title></title>
<cells>
<cell>
<dashlet id="1" xsi:type="DashletGroupByBars">
<title>UI-ChangeManagementOverview-ChangeByType</title>
<query>SELECT Change</query>
<group_by>finalclass</group_by>
<style>bars</style>
</dashlet>
</cell>
<cell>
<dashlet id="2" xsi:type="DashletObjectList"/>
<title>UI-ChangeManagementOverview-ChangeUnassigned</title>
<query>SELECT Change WHERE status = 'new'</query>
<menu>false</menu>
</cell>
<cell>
<dashlet id="3" xsi:type="DashletObjectList"/>
<title>UI-ChangeManagementOverview-ChangeWithOutage</title>
<query>SELECT Change WHERE outage = 'yes'</query>
<menu>false</menu>
</cell>
</cells>
</dashboard>