mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
parent
cbc67439d8
commit
e29c025d64
@ -145,7 +145,7 @@ class ServiceController extends ObjectController
|
|||||||
$this->actions()->add(Link::create(
|
$this->actions()->add(Link::create(
|
||||||
$this->translate('back'),
|
$this->translate('back'),
|
||||||
'director/host/services',
|
'director/host/services',
|
||||||
['name' => $this->host->getObjectName()],
|
['uuid' => $this->host->getUniqueId()->toString()],
|
||||||
['class' => 'icon-left-big']
|
['class' => 'icon-left-big']
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -578,7 +578,7 @@ abstract class ObjectController extends ActionController
|
|||||||
protected function addBackToObjectLink()
|
protected function addBackToObjectLink()
|
||||||
{
|
{
|
||||||
$params = [
|
$params = [
|
||||||
'name' => $this->object->getObjectName(),
|
'uuid' => $this->object->getUniqueId()->toString(),
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($this->object instanceof IcingaService) {
|
if ($this->object instanceof IcingaService) {
|
||||||
|
@ -120,7 +120,7 @@ abstract class TemplateController extends CompatController
|
|||||||
Link::create(
|
Link::create(
|
||||||
$this->translate('Modify'),
|
$this->translate('Modify'),
|
||||||
"director/$type/edit",
|
"director/$type/edit",
|
||||||
['name' => $templateName],
|
['uuid' => $template->getUniqueId()->toString()],
|
||||||
['class' => 'icon-edit']
|
['class' => 'icon-edit']
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user