components/downtime: Add downtime end time information in view
fixes #8845
This commit is contained in:
parent
8860181bcc
commit
a63b69f4a1
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue