Skip to content

Commit

Permalink
Web/Menu: move "About" to config section
Browse files Browse the repository at this point in the history
This is IMO never worth a main menu entry, at least not in it's current
implementation and look-a-like.
  • Loading branch information
Thomas-Gelf committed Jun 15, 2015
1 parent edf8bcc commit 56d67de
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions library/Icinga/Web/Menu.php
Expand Up @@ -264,6 +264,10 @@ protected function addMainMenuItems()
'permission' => 'config/modules',
'priority' => 890
));
$section->add(t('About'), array(
'url' => 'about',
'priority' => 895
));

$section = $this->add($auth->getUser()->getUsername(), array(
'icon' => 'user',
Expand All @@ -279,11 +283,6 @@ protected function addMainMenuItems()
'priority' => 990,
'renderer' => 'ForeignMenuItemRenderer'
));

$this->add(t('About'), array(
'url' => 'about',
'priority' => 1000
));
}
}

Expand Down

0 comments on commit 56d67de

Please sign in to comment.