From 3f33cd72c66beba88237517c7ef8b9689a8eaaae Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 18:00:03 +0200 Subject: [PATCH] monitoring/CSS: Use action-link on schedule downtime links refs #5543 --- .../views/scripts/show/components/downtime.phtml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/downtime.phtml b/modules/monitoring/application/views/scripts/show/components/downtime.phtml index 03df6ed6e..ad1f376f3 100644 --- a/modules/monitoring/application/views/scripts/show/components/downtime.phtml +++ b/modules/monitoring/application/views/scripts/show/components/downtime.phtml @@ -8,8 +8,9 @@ if ($this->hasPermission('monitoring/command/downtime/schedule')) { 'monitoring/host/schedule-downtime', array('host' => $object->getName()), array( - 'icon' => 'plug', + 'class' => 'action-link', 'data-base-target' => '_self', + 'icon' => 'plug', 'title' => $this->translate( 'Schedule a downtime to suppress all problem notifications within a specific period of time' ) @@ -21,8 +22,9 @@ if ($this->hasPermission('monitoring/command/downtime/schedule')) { 'monitoring/service/schedule-downtime', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), array( - 'icon' => 'plug', + 'class' => 'action-link', 'data-base-target' => '_self', + 'icon' => 'plug', 'title' => $this->translate( 'Schedule a downtime to suppress all problem notifications within a specific period of time' ) @@ -75,8 +77,8 @@ if (empty($object->comments) && ! $addLink) { $deleteButton = clone($delDowntimeForm); $deleteButton->populate( array( - 'downtime_id' => $downtime->id, - 'downtime_is_service' => $object->getType() === $object::TYPE_SERVICE + 'downtime_id' => $downtime->id, + 'downtime_is_service' => $object->getType() === $object::TYPE_SERVICE ) ); } else {