From e782fcb859d3f1b9a3cf9af8ec02d1d08b335351 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 17:58:33 +0200 Subject: [PATCH] monitoring/CSS: Use action-link on add comment links refs #5543 --- .../views/scripts/show/components/comments.phtml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml index f2df26aef..7c2301097 100644 --- a/modules/monitoring/application/views/scripts/show/components/comments.phtml +++ b/modules/monitoring/application/views/scripts/show/components/comments.phtml @@ -8,8 +8,9 @@ if ($this->hasPermission('monitoring/command/comment/add')) { 'monitoring/host/add-comment', array('host' => $object->getName()), array( - 'icon' => 'comment', + 'class' => 'action-link', 'data-base-target' => '_self', + 'icon' => 'comment', 'title' => $this->translate('Add a new comment to this host') ) ); @@ -19,8 +20,9 @@ if ($this->hasPermission('monitoring/command/comment/add')) { 'monitoring/service/add-comment', array('host' => $object->getHost()->getName(), 'service' => $object->getName()), array( - 'icon' => 'comment', + 'class' => 'action-link', 'data-base-target' => '_self', + 'icon' => 'comment', 'title' => $this->translate('Add a new comment to this service') ) ); @@ -48,8 +50,8 @@ if (empty($object->comments) && ! $addLink) { $deleteButton = clone($delCommentForm); $deleteButton->populate( array( - 'comment_id' => $comment->id, - 'comment_is_service' => isset($comment->service_description) + 'comment_id' => $comment->id, + 'comment_is_service' => isset($comment->service_description) ) ); } else {