parent
4142c15ab5
commit
587b5651eb
|
@ -63,12 +63,16 @@ if ($object->acknowledged): ?>
|
||||||
if ($object->getType() === $object::TYPE_HOST) {
|
if ($object->getType() === $object::TYPE_HOST) {
|
||||||
$ackLink = $this->href(
|
$ackLink = $this->href(
|
||||||
'monitoring/host/acknowledge-problem',
|
'monitoring/host/acknowledge-problem',
|
||||||
array('host' => $object->getName())
|
array('host' => $object->getName()),
|
||||||
|
null,
|
||||||
|
array('class' => 'action-link')
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$ackLink = $this->href(
|
$ackLink = $this->href(
|
||||||
'monitoring/service/acknowledge-problem',
|
'monitoring/service/acknowledge-problem',
|
||||||
array('host' => $object->getHost()->getName(), 'service' => $object->getName())
|
array('host' => $object->getHost()->getName(), 'service' => $object->getName()),
|
||||||
|
null,
|
||||||
|
array('class' => 'action-link')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -77,8 +81,9 @@ if ($object->acknowledged): ?>
|
||||||
$ackLink,
|
$ackLink,
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'icon' => 'ok',
|
'class' => 'action-link',
|
||||||
'data-base-target' => '_self',
|
'data-base-target' => '_self',
|
||||||
|
'icon' => 'ok',
|
||||||
'title' => $this->translate(
|
'title' => $this->translate(
|
||||||
'Acknowledge this problem, suppress all future notifications for it and tag it as being handled'
|
'Acknowledge this problem, suppress all future notifications for it and tag it as being handled'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue