ServiceController: add services tab for hosts
This commit is contained in:
parent
944701c725
commit
77e0abe43f
|
@ -42,6 +42,14 @@ class ServiceController extends ObjectController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->host) {
|
||||||
|
$this->getTabs()->add('services', array(
|
||||||
|
'url' => 'director/host/services',
|
||||||
|
'urlParams' => array('name' => $this->host->object_name),
|
||||||
|
'label' => $this->translate('Services'),
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function assignAction()
|
public function assignAction()
|
||||||
|
|
Loading…
Reference in New Issue