[icinga-checkins] icinga.org: icingaweb2/master: Replace icon comment w/ comment-empty

git at icinga.org git at icinga.org
Fri Nov 25 15:15:19 CET 2016


Module: icingaweb2
Branch: master
Commit: b722f6e1782c4c9d878502908a0b6df0a0697c76
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=b722f6e1782c4c9d878502908a0b6df0a0697c76

Author: Florian Strohmaier <florian.strohmaier at icinga.com>
Date:   Fri Nov 25 15:05:46 2016 +0100

Replace icon comment w/ comment-empty

Signed-off-by: Eric Lippmann <eric.lippmann at icinga.com>

---

 modules/monitoring/application/controllers/CommentController.php   |    2 +-
 modules/monitoring/application/controllers/CommentsController.php  |    2 +-
 modules/monitoring/application/views/scripts/hosts/show.phtml      |    4 ++--
 .../application/views/scripts/partials/event-history.phtml         |    2 +-
 .../application/views/scripts/partials/object/quick-actions.phtml  |    4 ++--
 modules/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 b5d5e67..4e085c5 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 9375636..6dcf08e 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 440b8f1..48c4b52 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'
                         )
                     ) ?>
                 </td>
diff --git a/modules/monitoring/application/views/scripts/partials/event-history.phtml b/modules/monitoring/application/views/scripts/partials/event-history.phtml
index c83a8b8..0d9c648 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 de0eb92..5200923 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 15db9b7..05f17b8 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'
                         )
                     ) ?>
                 </td>
diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml
index 3d5904e..d8cbdc9 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')
             )
         );



More information about the icinga-checkins mailing list