monitoring/detail: Show acknowledgement expire time if any
resolves #8642
This commit is contained in:
parent
c0f39de200
commit
757c0727c9
modules/monitoring/application/views/scripts/show/components
|
@ -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…
Reference in New Issue