mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
monitoring/detail: Show acknowledgement expire time if any
resolves #8642
This commit is contained in:
parent
c0f39de200
commit
757c0727c9
@ -43,6 +43,14 @@ if ($object->acknowledged): ?>
|
|||||||
<span class="sr-only">(<?= $this->translate('Comment') ?>): </span>
|
<span class="sr-only">(<?= $this->translate('Comment') ?>): </span>
|
||||||
<?= nl2br($this->createTicketLinks($acknowledgement->getComment()), false) ?>
|
<?= nl2br($this->createTicketLinks($acknowledgement->getComment()), false) ?>
|
||||||
</p>
|
</p>
|
||||||
|
<?php if ($acknowledgement->expires()): ?>
|
||||||
|
<p class="info">
|
||||||
|
<?= sprintf(
|
||||||
|
$this->translate('Expires %s'),
|
||||||
|
$this->timeUntil($acknowledgement->getExpirationTime())
|
||||||
|
) ?>
|
||||||
|
</p>
|
||||||
|
<?php endif ?>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user