monitoring/CSS: Use action-link on acknowledge links

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-24 17:25:41 +02:00
parent 4142c15ab5
commit 587b5651eb
1 changed files with 8 additions and 3 deletions

View File

@ -63,12 +63,16 @@ if ($object->acknowledged): ?>
if ($object->getType() === $object::TYPE_HOST) {
$ackLink = $this->href(
'monitoring/host/acknowledge-problem',
array('host' => $object->getName())
array('host' => $object->getName()),
null,
array('class' => 'action-link')
);
} else {
$ackLink = $this->href(
'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,
null,
array(
'icon' => 'ok',
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'ok',
'title' => $this->translate(
'Acknowledge this problem, suppress all future notifications for it and tag it as being handled'
)