From b722f6e1782c4c9d878502908a0b6df0a0697c76 Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Fri, 25 Nov 2016 15:05:46 +0100 Subject: [PATCH] Replace icon comment w/ comment-empty Signed-off-by: Eric Lippmann --- .../monitoring/application/controllers/CommentController.php | 2 +- .../monitoring/application/controllers/CommentsController.php | 2 +- modules/monitoring/application/views/scripts/hosts/show.phtml | 4 ++-- .../application/views/scripts/partials/event-history.phtml | 2 +- .../views/scripts/partials/object/quick-actions.phtml | 4 ++-- .../monitoring/application/views/scripts/services/show.phtml | 4 ++-- .../application/views/scripts/show/components/comments.phtml | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/monitoring/application/controllers/CommentController.php b/modules/monitoring/application/controllers/CommentController.php index b5d5e6720..4e085c5b9 100644 --- a/modules/monitoring/application/controllers/CommentController.php +++ b/modules/monitoring/application/controllers/CommentController.php @@ -52,7 +52,7 @@ class CommentController extends Controller $this->getTabs()->add( 'comment', array( - 'icon' => 'comment', + 'icon' => 'comment-empty', 'label' => $this->translate('Comment'), 'title' => $this->translate('Display detailed information about a comment.'), 'url' =>'monitoring/comments/show' diff --git a/modules/monitoring/application/controllers/CommentsController.php b/modules/monitoring/application/controllers/CommentsController.php index 9375636dc..6dcf08ec4 100644 --- a/modules/monitoring/application/controllers/CommentsController.php +++ b/modules/monitoring/application/controllers/CommentsController.php @@ -59,7 +59,7 @@ class CommentsController extends Controller $this->getTabs()->add( 'comments', array( - 'icon' => 'comment', + 'icon' => 'comment-empty', 'label' => $this->translate('Comments') . sprintf(' (%d)', $query->count()), 'title' => $this->translate( 'Display detailed information about multiple comments.' diff --git a/modules/monitoring/application/views/scripts/hosts/show.phtml b/modules/monitoring/application/views/scripts/hosts/show.phtml index 440b8f163..48c4b5254 100644 --- a/modules/monitoring/application/views/scripts/hosts/show.phtml +++ b/modules/monitoring/application/views/scripts/hosts/show.phtml @@ -63,8 +63,8 @@ $addCommentLink, null, array( - 'icon' => 'comment', - 'class' => 'action-link' + 'class' => 'action-link', + 'icon' => 'comment-empty' ) ) ?> diff --git a/modules/monitoring/application/views/scripts/partials/event-history.phtml b/modules/monitoring/application/views/scripts/partials/event-history.phtml index c83a8b8f8..0d9c64870 100644 --- a/modules/monitoring/application/views/scripts/partials/event-history.phtml +++ b/modules/monitoring/application/views/scripts/partials/event-history.phtml @@ -57,7 +57,7 @@ $lastDate = null; $stateName = $isService ? Service::getStateText($event->state) : Host::getStateText($event->state); break; case 'comment': - $icon = 'comment'; + $icon = 'comment-empty'; $iconTitle = $this->translate('Comment', 'tooltip'); $label = $this->translate('COMMENT'); break; diff --git a/modules/monitoring/application/views/scripts/partials/object/quick-actions.phtml b/modules/monitoring/application/views/scripts/partials/object/quick-actions.phtml index de0eb9244..5200923b9 100644 --- a/modules/monitoring/application/views/scripts/partials/object/quick-actions.phtml +++ b/modules/monitoring/application/views/scripts/partials/object/quick-actions.phtml @@ -54,7 +54,7 @@ array( 'class' => 'action-link', 'data-base-target' => '_self', - 'icon' => 'comment', + 'icon' => 'comment-empty', 'title' => $this->translate('Add a new comment to this host') ) ); @@ -66,7 +66,7 @@ array( 'class' => 'action-link', 'data-base-target' => '_self', - 'icon' => 'comment', + 'icon' => 'comment-empty', 'title' => $this->translate('Add a new comment to this service') ) ); diff --git a/modules/monitoring/application/views/scripts/services/show.phtml b/modules/monitoring/application/views/scripts/services/show.phtml index 15db9b758..05f17b871 100644 --- a/modules/monitoring/application/views/scripts/services/show.phtml +++ b/modules/monitoring/application/views/scripts/services/show.phtml @@ -62,8 +62,8 @@ $addCommentLink, null, array( - 'icon' => 'comment', - 'class' => 'action-link' + 'class' => 'action-link', + 'icon' => 'comment-empty' ) ) ?> diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml index 3d5904ef4..d8cbdc910 100644 --- a/modules/monitoring/application/views/scripts/show/components/comments.phtml +++ b/modules/monitoring/application/views/scripts/show/components/comments.phtml @@ -10,7 +10,7 @@ if ($this->hasPermission('monitoring/command/comment/add')) { array( 'class' => 'action-link', 'data-base-target' => '_self', - 'icon' => 'comment', + 'icon' => 'comment-empty', 'title' => $this->translate('Add a new comment to this host') ) ); @@ -22,7 +22,7 @@ if ($this->hasPermission('monitoring/command/comment/add')) { array( 'class' => 'action-link', 'data-base-target' => '_self', - 'icon' => 'comment', + 'icon' => 'comment-empty', 'title' => $this->translate('Add a new comment to this service') ) );