NavigationTree - move statistics up one level

This commit is contained in:
Dietmar Maurer 2017-09-07 12:09:25 +02:00
parent e98379210f
commit 4183c5557f

View File

@ -94,57 +94,6 @@ Ext.define('PMG.store.NavigationStore', {
path: 'pmgServerAdministration', path: 'pmgServerAdministration',
expanded: true, expanded: true,
children: [ children: [
{
text: gettext('Statistics'),
iconCls: 'fa fa-bar-chart',
border: false,
path: 'pmgGeneralMailStatistics',
expanded: true,
children: [
{
text: gettext('Spam Scores'),
path: 'pmgSpamScoreDistribution',
border: false,
leaf: true
},
{
text: gettext('Virus Charts'),
path: 'pmgVirusCharts',
border: false,
leaf: true
},
{
text: gettext('Hourly Distribution'),
path: 'pmgHourlyMailDistribution',
border: false,
leaf: true
},
{
text: gettext('Domain'),
path: 'pmgDomainStatistics',
border: false,
leaf: true
},
{
text: gettext('Sender'),
path: 'pmgSenderStatistics',
border: false,
leaf: true
},
{
text: gettext('Receiver'),
path: 'pmgReceiverStatistics',
border: false,
leaf: true
},
{
text: gettext('Contact'),
path: 'pmgContactStatistics',
border: false,
leaf: true
}
]
},
{ {
text: gettext('Quarantine'), text: gettext('Quarantine'),
iconCls: 'fa fa-cubes', iconCls: 'fa fa-cubes',
@ -164,6 +113,64 @@ Ext.define('PMG.store.NavigationStore', {
leaf: true, leaf: true,
} }
] ]
},
{
text: gettext('Statistics'),
iconCls: 'fa fa-bar-chart',
border: false,
path: 'pmgGeneralMailStatistics',
expanded: true,
children: [
{
text: gettext('Spam Scores'),
iconCls: 'fa fa-table',
path: 'pmgSpamScoreDistribution',
border: false,
leaf: true
},
{
text: gettext('Virus Charts'),
iconCls: 'fa fa-bug',
path: 'pmgVirusCharts',
border: false,
leaf: true
},
{
text: gettext('Hourly Distribution'),
iconCls: 'fa fa-area-chart',
path: 'pmgHourlyMailDistribution',
border: false,
leaf: true
},
{
text: gettext('Domain'),
iconCls: 'fa fa-table',
path: 'pmgDomainStatistics',
border: false,
leaf: true
},
{
text: gettext('Sender'),
iconCls: 'fa fa-table',
path: 'pmgSenderStatistics',
border: false,
leaf: true
},
{
text: gettext('Receiver'),
iconCls: 'fa fa-table',
path: 'pmgReceiverStatistics',
border: false,
leaf: true
},
{
text: gettext('Contact'),
iconCls: 'fa fa-table',
path: 'pmgContactStatistics',
border: false,
leaf: true
}
]
} }
] ]
} }