monitoring/detail: Show acknowledgement expire time if any

resolves #8642
This commit is contained in:
Eric Lippmann 2015-09-07 14:25:14 +02:00
parent c0f39de200
commit 757c0727c9

View File

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