From a63b69f4a1588a56aa5169b913036b4ec3e2f9f1 Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Mon, 3 Aug 2015 13:44:41 +0200 Subject: [PATCH] components/downtime: Add downtime end time information in view fixes #8845 --- .../application/views/scripts/show/components/downtime.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/downtime.phtml b/modules/monitoring/application/views/scripts/show/components/downtime.phtml index 46b0f5a3a..f6d9647bd 100644 --- a/modules/monitoring/application/views/scripts/show/components/downtime.phtml +++ b/modules/monitoring/application/views/scripts/show/components/downtime.phtml @@ -67,8 +67,8 @@ if (empty($object->comments) && ! $addLink) { if ((bool) $downtime->is_in_effect) { $state = sprintf( - $this->translate('in downtime %s', 'Last format parameter represents the time in downtime'), - $this->timeSince($downtime->start) + $this->translate('expires %s', 'Last format parameter represents the downtime expire time'), + $this->timeUntil($downtime->end) ); } else { if ((bool) $downtime->is_fixed) {