Services: ooops

This commit is contained in:
Thomas Gelf 2015-06-29 11:16:29 +02:00
parent 3d9fb846ed
commit fe7cb41bac
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ class Director_ListController extends ActionController
public function servicesAction()
{
$this->setHostTabs()->activate('services');
$this->setServiceTabs()->activate('services');
$this->view->addLink = $this->view->qlink(
$this->translate('Add Service'),
'director/object/service'
@ -53,7 +53,7 @@ class Director_ListController extends ActionController
public function servicegroupsAction()
{
$this->setHostTabs()->activate('servicegroups');
$this->setServiceTabs()->activate('servicegroups');
$this->view->addLink = $this->view->qlink(
$this->translate('Add Servicegroup'),
'director/object/servicegroup'

View File

@ -60,7 +60,7 @@ abstract class ActionController extends Controller
protected function setServiceTabs()
{
$this->view->tabs = Widget::create('tabs')->add('services', array(
'label' => $this->translate('Hosts'),
'label' => $this->translate('Services'),
'url' => 'director/list/services')
)->add('servicegroups', array(
'label' => $this->translate('Servicegroups'),