From 757c0727c90771b1eeab214adc00b914d296f7f3 Mon Sep 17 00:00:00 2001
From: Eric Lippmann
Date: Mon, 7 Sep 2015 14:25:14 +0200
Subject: [PATCH] monitoring/detail: Show acknowledgement expire time if any
resolves #8642
---
.../views/scripts/show/components/acknowledgement.phtml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml
index d32fd81c9..3b885e178 100644
--- a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml
+++ b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml
@@ -43,6 +43,14 @@ if ($object->acknowledged): ?>
(= $this->translate('Comment') ?>):
= nl2br($this->createTicketLinks($acknowledgement->getComment()), false) ?>
+ expires()): ?>
+
+ = sprintf(
+ $this->translate('Expires %s'),
+ $this->timeUntil($acknowledgement->getExpirationTime())
+ ) ?>
+
+