Replace icon comment w/ comment-empty

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
Florian Strohmaier 2016-11-25 15:05:46 +01:00 committed by Eric Lippmann
parent 6695e437ab
commit b722f6e178
7 changed files with 11 additions and 11 deletions

View File

@ -52,7 +52,7 @@ class CommentController extends Controller
$this->getTabs()->add( $this->getTabs()->add(
'comment', 'comment',
array( array(
'icon' => 'comment', 'icon' => 'comment-empty',
'label' => $this->translate('Comment'), 'label' => $this->translate('Comment'),
'title' => $this->translate('Display detailed information about a comment.'), 'title' => $this->translate('Display detailed information about a comment.'),
'url' =>'monitoring/comments/show' 'url' =>'monitoring/comments/show'

View File

@ -59,7 +59,7 @@ class CommentsController extends Controller
$this->getTabs()->add( $this->getTabs()->add(
'comments', 'comments',
array( array(
'icon' => 'comment', 'icon' => 'comment-empty',
'label' => $this->translate('Comments') . sprintf(' (%d)', $query->count()), 'label' => $this->translate('Comments') . sprintf(' (%d)', $query->count()),
'title' => $this->translate( 'title' => $this->translate(
'Display detailed information about multiple comments.' 'Display detailed information about multiple comments.'

View File

@ -63,8 +63,8 @@
$addCommentLink, $addCommentLink,
null, null,
array( array(
'icon' => 'comment', 'class' => 'action-link',
'class' => 'action-link' 'icon' => 'comment-empty'
) )
) ?> ) ?>
</td> </td>

View File

@ -57,7 +57,7 @@ $lastDate = null;
$stateName = $isService ? Service::getStateText($event->state) : Host::getStateText($event->state); $stateName = $isService ? Service::getStateText($event->state) : Host::getStateText($event->state);
break; break;
case 'comment': case 'comment':
$icon = 'comment'; $icon = 'comment-empty';
$iconTitle = $this->translate('Comment', 'tooltip'); $iconTitle = $this->translate('Comment', 'tooltip');
$label = $this->translate('COMMENT'); $label = $this->translate('COMMENT');
break; break;

View File

@ -54,7 +54,7 @@
array( array(
'class' => 'action-link', 'class' => 'action-link',
'data-base-target' => '_self', 'data-base-target' => '_self',
'icon' => 'comment', 'icon' => 'comment-empty',
'title' => $this->translate('Add a new comment to this host') 'title' => $this->translate('Add a new comment to this host')
) )
); );
@ -66,7 +66,7 @@
array( array(
'class' => 'action-link', 'class' => 'action-link',
'data-base-target' => '_self', 'data-base-target' => '_self',
'icon' => 'comment', 'icon' => 'comment-empty',
'title' => $this->translate('Add a new comment to this service') 'title' => $this->translate('Add a new comment to this service')
) )
); );

View File

@ -62,8 +62,8 @@
$addCommentLink, $addCommentLink,
null, null,
array( array(
'icon' => 'comment', 'class' => 'action-link',
'class' => 'action-link' 'icon' => 'comment-empty'
) )
) ?> ) ?>
</td> </td>

View File

@ -10,7 +10,7 @@ if ($this->hasPermission('monitoring/command/comment/add')) {
array( array(
'class' => 'action-link', 'class' => 'action-link',
'data-base-target' => '_self', 'data-base-target' => '_self',
'icon' => 'comment', 'icon' => 'comment-empty',
'title' => $this->translate('Add a new comment to this host') 'title' => $this->translate('Add a new comment to this host')
) )
); );
@ -22,7 +22,7 @@ if ($this->hasPermission('monitoring/command/comment/add')) {
array( array(
'class' => 'action-link', 'class' => 'action-link',
'data-base-target' => '_self', 'data-base-target' => '_self',
'icon' => 'comment', 'icon' => 'comment-empty',
'title' => $this->translate('Add a new comment to this service') 'title' => $this->translate('Add a new comment to this service')
) )
); );