Services: ooops
This commit is contained in:
parent
3d9fb846ed
commit
fe7cb41bac
|
@ -41,7 +41,7 @@ class Director_ListController extends ActionController
|
||||||
|
|
||||||
public function servicesAction()
|
public function servicesAction()
|
||||||
{
|
{
|
||||||
$this->setHostTabs()->activate('services');
|
$this->setServiceTabs()->activate('services');
|
||||||
$this->view->addLink = $this->view->qlink(
|
$this->view->addLink = $this->view->qlink(
|
||||||
$this->translate('Add Service'),
|
$this->translate('Add Service'),
|
||||||
'director/object/service'
|
'director/object/service'
|
||||||
|
@ -53,7 +53,7 @@ class Director_ListController extends ActionController
|
||||||
|
|
||||||
public function servicegroupsAction()
|
public function servicegroupsAction()
|
||||||
{
|
{
|
||||||
$this->setHostTabs()->activate('servicegroups');
|
$this->setServiceTabs()->activate('servicegroups');
|
||||||
$this->view->addLink = $this->view->qlink(
|
$this->view->addLink = $this->view->qlink(
|
||||||
$this->translate('Add Servicegroup'),
|
$this->translate('Add Servicegroup'),
|
||||||
'director/object/servicegroup'
|
'director/object/servicegroup'
|
||||||
|
|
|
@ -60,7 +60,7 @@ abstract class ActionController extends Controller
|
||||||
protected function setServiceTabs()
|
protected function setServiceTabs()
|
||||||
{
|
{
|
||||||
$this->view->tabs = Widget::create('tabs')->add('services', array(
|
$this->view->tabs = Widget::create('tabs')->add('services', array(
|
||||||
'label' => $this->translate('Hosts'),
|
'label' => $this->translate('Services'),
|
||||||
'url' => 'director/list/services')
|
'url' => 'director/list/services')
|
||||||
)->add('servicegroups', array(
|
)->add('servicegroups', array(
|
||||||
'label' => $this->translate('Servicegroups'),
|
'label' => $this->translate('Servicegroups'),
|
||||||
|
|
Loading…
Reference in New Issue