mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +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>
|
||||
<?= nl2br($this->createTicketLinks($acknowledgement->getComment()), false) ?>
|
||||
</p>
|
||||
<?php if ($acknowledgement->expires()): ?>
|
||||
<p class="info">
|
||||
<?= sprintf(
|
||||
$this->translate('Expires %s'),
|
||||
$this->timeUntil($acknowledgement->getExpirationTime())
|
||||
) ?>
|
||||
</p>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user