mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
90f606fbd4
commit
56e495049c
@ -23,10 +23,21 @@ if ($object->acknowledged): ?>
|
|||||||
'<span class="author">' . $this->escape($acknowledgement->getAuthor()) . '</span>',
|
'<span class="author">' . $this->escape($acknowledgement->getAuthor()) . '</span>',
|
||||||
$this->timeAgo($acknowledgement->getEntryTime())
|
$this->timeAgo($acknowledgement->getEntryTime())
|
||||||
) ?>
|
) ?>
|
||||||
<?php if (isset($removeAckForm)) {
|
<?php
|
||||||
|
if ($acknowledgement->getSticky()) {
|
||||||
|
echo $this->icon('pin', sprintf(
|
||||||
|
$this->translate(
|
||||||
|
'Acknowledgement remains until the %1$s recovers even if the %1$s changes state'
|
||||||
|
),
|
||||||
|
$object->getType(true)
|
||||||
|
));
|
||||||
|
}
|
||||||
|
if (isset($removeAckForm)) {
|
||||||
|
// Form is unset if the current user lacks the respective permission
|
||||||
// Form is unset if the current user lacks the respective permission
|
// Form is unset if the current user lacks the respective permission
|
||||||
echo $removeAckForm;
|
echo $removeAckForm;
|
||||||
} ?>
|
}
|
||||||
|
?>
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
<span class="sr-only">(<?= $this->translate('Comment') ?>): </span>
|
<span class="sr-only">(<?= $this->translate('Comment') ?>): </span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user