diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml index 7bc10e507..fd980eeb4 100644 --- a/modules/monitoring/application/views/scripts/show/components/comments.phtml +++ b/modules/monitoring/application/views/scripts/show/components/comments.phtml @@ -39,14 +39,14 @@ if (empty($object->comments) && ! $addLink) { echo '
' . $addLink; } ?> - + comments)): echo $addLink; else: ?>
comments as $comment): ?>
- + escape($comment->author) ?> translate('commented') ?> @@ -59,6 +59,7 @@ if (empty($object->comments) && ! $addLink) { ) ?> + persistent ? $this->icon('attach', 'This comment is persistent.') : '' ?> comments) && ! $addLink) { ); echo $deleteButton; } ?> -
nl2br($this->createTicketLinks($this->markdownLine($comment->comment, [ 'class' => 'caption']))) ?> diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 763ea1ee9..2173ab782 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -155,12 +155,12 @@ a:hover > .icon-cancel { &:hover { .var(background-color, gray-lightest); - > .remove-action { + > .remove-action button:not(.spinner.active) { visibility: visible; } } - > .remove-action { + > .remove-action button:not(.spinner.active) { visibility: hidden; } }