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)) {
$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,

View File

@ -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,

View File

@ -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>

View File

@ -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,

View File

@ -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,

View File

@ -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;
}
}