ServicesController: remove Services tab

fixes #12324
This commit is contained in:
Thomas Gelf 2016-08-23 16:06:05 +00:00
parent 84b035ec24
commit cb59c61d66
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,12 @@ use Icinga\Module\Director\Web\Controller\ObjectsController;
class ServicesController extends ObjectsController
{
public function init()
{
parent::init();
$this->view->tabs->remove('objects');
}
public function indexAction()
{
$r = $this->getRequest();

View File

@ -34,7 +34,7 @@ $section = $this->menuSection(
));
$section->add($this->translate('Hosts'))->setUrl('director/hosts')->setPriority(30);
$section->add($this->translate('Services'))->setUrl('director/services')->setPriority(40);
$section->add($this->translate('Services'))->setUrl('director/services/templates')->setPriority(40);
$section->add($this->translate('Commands'))->setUrl('director/commands')->setPriority(50);
$section->add($this->translate('Users'))->setUrl('director/users')->setPriority(70);
$section->add($this->translate('Automation'))