CSS: Rename remove-comment to remove-action

refs #5543
This commit is contained in:
Eric Lippmann 2015-10-28 09:56:50 +01:00
parent acb01dc07a
commit a8a87d27eb
6 changed files with 7 additions and 7 deletions

View File

@ -41,7 +41,7 @@
<?php if (isset($delCommentForm)) { <?php if (isset($delCommentForm)) {
$deleteButton = clone $delCommentForm; $deleteButton = clone $delCommentForm;
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm $deleteButton */ /** @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( $deleteButton->populate(
array( array(
'comment_id' => $comment->id, 'comment_id' => $comment->id,

View File

@ -54,7 +54,7 @@
<?php <?php
$deleteButton = clone $delDowntimeForm; $deleteButton = clone $delDowntimeForm;
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteDowntimeCommandForm $deleteButton */ /** @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( $deleteButton->populate(
array( array(
'downtime_id' => $downtime->id, 'downtime_id' => $downtime->id,

View File

@ -39,7 +39,7 @@ $acknowledgement = $object->acknowledgement;
<?php if (isset($removeAckForm)): // Form is unset if the current user lacks the respective permission ?> <?php if (isset($removeAckForm)): // Form is unset if the current user lacks the respective permission ?>
<span class="meta-icons"> <span class="meta-icons">
<?php <?php
$removeAckForm->setAttrib('class', $removeAckForm->getAttrib('class') . ' remove-comment'); $removeAckForm->setAttrib('class', $removeAckForm->getAttrib('class') . ' remove-action');
echo $removeAckForm; echo $removeAckForm;
?> ?>
</span> </span>

View File

@ -55,7 +55,7 @@ if (empty($object->comments) && ! $addLink) {
<?php <?php
$deleteButton = clone($delCommentForm); $deleteButton = clone($delCommentForm);
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm $deleteButton */ /** @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( $deleteButton->populate(
array( array(
'comment_id' => $comment->id, 'comment_id' => $comment->id,

View File

@ -85,7 +85,7 @@ if (empty($object->comments) && ! $addLink) {
<?php <?php
$deleteButton = clone($delDowntimeForm); $deleteButton = clone($delDowntimeForm);
/** @var \Icinga\Module\Monitoring\Forms\Command\Object\DeleteDowntimeCommandForm $deleteButton */ /** @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( $deleteButton->populate(
array( array(
'downtime_id' => $downtime->id, 'downtime_id' => $downtime->id,

View File

@ -86,7 +86,7 @@ a:hover > .icon-cancel {
&:hover { &:hover {
background-color: @gray-lightest; background-color: @gray-lightest;
> .comment-meta > .meta-icons > .remove-comment { > .comment-meta > .meta-icons > .remove-action {
display: block; display: block;
} }
} }
@ -95,7 +95,7 @@ a:hover > .icon-cancel {
margin-top: 0; margin-top: 0;
} }
> .comment-meta > .meta-icons > .remove-comment { > .comment-meta > .meta-icons > .remove-action {
display: none; display: none;
} }
} }