mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Web/Menu: move "About" to config section
This is IMO never worth a main menu entry, at least not in it's current implementation and look-a-like.
This commit is contained in:
parent
edf8bcca4b
commit
56d67def00
@ -264,6 +264,10 @@ class Menu implements RecursiveIterator
|
|||||||
'permission' => 'config/modules',
|
'permission' => 'config/modules',
|
||||||
'priority' => 890
|
'priority' => 890
|
||||||
));
|
));
|
||||||
|
$section->add(t('About'), array(
|
||||||
|
'url' => 'about',
|
||||||
|
'priority' => 895
|
||||||
|
));
|
||||||
|
|
||||||
$section = $this->add($auth->getUser()->getUsername(), array(
|
$section = $this->add($auth->getUser()->getUsername(), array(
|
||||||
'icon' => 'user',
|
'icon' => 'user',
|
||||||
@ -279,11 +283,6 @@ class Menu implements RecursiveIterator
|
|||||||
'priority' => 990,
|
'priority' => 990,
|
||||||
'renderer' => 'ForeignMenuItemRenderer'
|
'renderer' => 'ForeignMenuItemRenderer'
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->add(t('About'), array(
|
|
||||||
'url' => 'about',
|
|
||||||
'priority' => 1000
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user