mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
ServiceController: provide a 'back'-link for...
...services belonging to a single host
This commit is contained in:
parent
4501935040
commit
ef90fea506
@ -125,6 +125,12 @@ class ServiceController extends ObjectController
|
|||||||
|
|
||||||
$object->vars = $this->host->getOverriddenServiceVars($object->object_name);
|
$object->vars = $this->host->getOverriddenServiceVars($object->object_name);
|
||||||
$object->imports()->add($parent);
|
$object->imports()->add($parent);
|
||||||
|
$this->view->actionLinks = $this->view->qlink(
|
||||||
|
$this->translate('back'),
|
||||||
|
'director/host/services',
|
||||||
|
array('name' => $this->host->object_name),
|
||||||
|
array('class' => 'icon-left-big')
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->getTabs()->activate('modify');
|
$this->getTabs()->activate('modify');
|
||||||
@ -134,7 +140,7 @@ class ServiceController extends ObjectController
|
|||||||
->setObject($object);
|
->setObject($object);
|
||||||
|
|
||||||
$this->view->form->handleRequest();
|
$this->view->form->handleRequest();
|
||||||
$this->view->actionLinks = $this->createCloneLink();
|
$this->view->actionLinks .= $this->createCloneLink();
|
||||||
|
|
||||||
$this->view->title = $object->object_name;
|
$this->view->title = $object->object_name;
|
||||||
if ($this->host) {
|
if ($this->host) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user