From 56d67def0085676c0a5c16efe3af7436403ec7ef Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 16 Jun 2015 00:18:31 +0200 Subject: [PATCH] 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. --- library/Icinga/Web/Menu.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/library/Icinga/Web/Menu.php b/library/Icinga/Web/Menu.php index 45dd2dd9c..5bf8f76d0 100644 --- a/library/Icinga/Web/Menu.php +++ b/library/Icinga/Web/Menu.php @@ -264,6 +264,10 @@ class Menu implements RecursiveIterator 'permission' => 'config/modules', 'priority' => 890 )); + $section->add(t('About'), array( + 'url' => 'about', + 'priority' => 895 + )); $section = $this->add($auth->getUser()->getUsername(), array( 'icon' => 'user', @@ -279,11 +283,6 @@ class Menu implements RecursiveIterator 'priority' => 990, 'renderer' => 'ForeignMenuItemRenderer' )); - - $this->add(t('About'), array( - 'url' => 'about', - 'priority' => 1000 - )); } }