diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index 6a231b785..1ff615094 100644 --- a/modules/monitoring/application/views/scripts/list/downtimes.phtml +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -38,7 +38,7 @@ if (! $this->compact): ?> start <= time() && ! $downtime->is_in_effect): ?> translate('Started'); ?>
- Ends timeUntil($downtime->end, $this->compact) ?> + translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?> is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?>
diff --git a/modules/monitoring/application/views/scripts/partials/downtime/downtime-header.phtml b/modules/monitoring/application/views/scripts/partials/downtime/downtime-header.phtml index c80f8d473..ebb45ccb0 100644 --- a/modules/monitoring/application/views/scripts/partials/downtime/downtime-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/downtime/downtime-header.phtml @@ -4,7 +4,7 @@ start <= time() && ! $downtime->is_in_effect): ?> translate('Started'); ?>
- Ends timeUntil($downtime->end, $this->compact) ?> + translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?> is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?>
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 390a9954a..4eb1b87eb 100644 --- a/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml @@ -9,7 +9,7 @@ start <= time() && ! $downtime->is_in_effect): ?> translate('Started'); ?>
- Ends timeUntil($downtime->end, $this->compact) ?> + translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?> is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?>