mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
073d695c94
commit
72cf023bf8
@ -53,7 +53,7 @@ if (empty($object->comments) && ! $addLink) {
|
||||
$this->timeUntil($downtime->end)
|
||||
);
|
||||
} else {
|
||||
if ($downtime->start <= time() && ! (bool) $downtime->is_in_effect) {
|
||||
if ($downtime->start <= time()) {
|
||||
$state = sprintf(
|
||||
$this->translate('ends %s', 'Last format parameter represents the end time'),
|
||||
$this->timeUntil($downtime->is_flexible ? $downtime->scheduled_end : $downtime->end)
|
||||
|
Loading…
x
Reference in New Issue
Block a user