components/downtime: Add downtime end time information in view

fixes #8845
This commit is contained in:
Alexander Fuhr 2015-08-03 13:44:41 +02:00
parent 8860181bcc
commit a63b69f4a1
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ if (empty($object->comments) && ! $addLink) {
if ((bool) $downtime->is_in_effect) { if ((bool) $downtime->is_in_effect) {
$state = sprintf( $state = sprintf(
$this->translate('in downtime %s', 'Last format parameter represents the time in downtime'), $this->translate('expires %s', 'Last format parameter represents the downtime expire time'),
$this->timeSince($downtime->start) $this->timeUntil($downtime->end)
); );
} else { } else {
if ((bool) $downtime->is_fixed) { if ((bool) $downtime->is_fixed) {