From 587b5651ebce0573c391cfc0bf5e4b202cfb2382 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 17:25:41 +0200 Subject: [PATCH] monitoring/CSS: Use action-link on acknowledge links refs #5543 --- .../scripts/show/components/acknowledgement.phtml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml index 3b885e178..e1d1a68dc 100644 --- a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml +++ b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml @@ -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' )