Procházet zdrojové kódy

replace the 'static' template menu by a dashboard menu

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2063 a333f486-631f-4898-b8df-5754b55c2be0
dflaven před 13 roky
rodič
revize
47671218bc

+ 2 - 2
datamodel/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml

@@ -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>

+ 0 - 22
datamodel/itop-change-mgmt-1.0.0/overview.html

@@ -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>
-