diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index 7848efcd8..6a231b785 100644 --- a/modules/monitoring/application/views/scripts/list/downtimes.phtml +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -35,9 +35,15 @@ if (! $this->compact): ?> ?>
- = $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?>
- - = $this->timeUntil($downtime->is_in_effect ? $downtime->end : $downtime->start, $this->compact) ?> + start <= time() && ! $downtime->is_in_effect): ?> + = $this->translate('Started'); ?> + + Ends = $this->timeUntil($downtime->end, $this->compact) ?> + + = $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?> + + = $this->timeUntil($downtime->is_in_effect ? $downtime->end : $downtime->start, $this->compact) ?> + |
diff --git a/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml b/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml
index 2e657d63c..390a9954a 100644
--- a/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml
+++ b/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml
@@ -6,9 +6,15 @@
} ?>
+ start <= time() && ! $downtime->is_in_effect): ?>
+ = $this->translate('Started'); ?>
+ |
+ Ends = $this->timeUntil($downtime->end, $this->compact) ?> + = $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?> = $this->timeUntil($downtime->is_in_effect ? $downtime->end : $downtime->start, $this->compact) ?> +
isService): ?>
| |