parent
acb01dc07a
commit
a8a87d27eb
|
@ -41,7 +41,7 @@
|
|||
<?php if (isset($delCommentForm)) {
|
||||
$deleteButton = clone $delCommentForm;
|
||||
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm $deleteButton */
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-comment');
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action');
|
||||
$deleteButton->populate(
|
||||
array(
|
||||
'comment_id' => $comment->id,
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<?php
|
||||
$deleteButton = clone $delDowntimeForm;
|
||||
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteDowntimeCommandForm $deleteButton */
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-comment');
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action');
|
||||
$deleteButton->populate(
|
||||
array(
|
||||
'downtime_id' => $downtime->id,
|
||||
|
|
|
@ -39,7 +39,7 @@ $acknowledgement = $object->acknowledgement;
|
|||
<?php if (isset($removeAckForm)): // Form is unset if the current user lacks the respective permission ?>
|
||||
<span class="meta-icons">
|
||||
<?php
|
||||
$removeAckForm->setAttrib('class', $removeAckForm->getAttrib('class') . ' remove-comment');
|
||||
$removeAckForm->setAttrib('class', $removeAckForm->getAttrib('class') . ' remove-action');
|
||||
echo $removeAckForm;
|
||||
?>
|
||||
</span>
|
||||
|
|
|
@ -55,7 +55,7 @@ if (empty($object->comments) && ! $addLink) {
|
|||
<?php
|
||||
$deleteButton = clone($delCommentForm);
|
||||
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm $deleteButton */
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-comment');
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action');
|
||||
$deleteButton->populate(
|
||||
array(
|
||||
'comment_id' => $comment->id,
|
||||
|
|
|
@ -85,7 +85,7 @@ if (empty($object->comments) && ! $addLink) {
|
|||
<?php
|
||||
$deleteButton = clone($delDowntimeForm);
|
||||
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteDowntimeCommandForm $deleteButton */
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-comment');
|
||||
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action');
|
||||
$deleteButton->populate(
|
||||
array(
|
||||
'downtime_id' => $downtime->id,
|
||||
|
|
|
@ -86,7 +86,7 @@ a:hover > .icon-cancel {
|
|||
&:hover {
|
||||
background-color: @gray-lightest;
|
||||
|
||||
> .comment-meta > .meta-icons > .remove-comment {
|
||||
> .comment-meta > .meta-icons > .remove-action {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ a:hover > .icon-cancel {
|
|||
margin-top: 0;
|
||||
}
|
||||
|
||||
> .comment-meta > .meta-icons > .remove-comment {
|
||||
> .comment-meta > .meta-icons > .remove-action {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue