diff --git a/modules/monitoring/application/views/scripts/list/comments.phtml b/modules/monitoring/application/views/scripts/list/comments.phtml
index d74405f59..4a315a8a8 100644
--- a/modules/monitoring/application/views/scripts/list/comments.phtml
+++ b/modules/monitoring/application/views/scripts/list/comments.phtml
@@ -48,7 +48,7 @@
= $this->escape($title); ?>
- = $this->timeAgo($comment->timestamp); ?>
+ = $this->timeAgo($comment->timestamp, $this->compact); ?>
objecttype === 'service'): ?>
diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml
index 0c1352aa5..25d68b459 100644
--- a/modules/monitoring/application/views/scripts/list/downtimes.phtml
+++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml
@@ -42,7 +42,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?>
- = $downtime->is_in_effect ? $this->timeSince($downtime->start) : $this->timeUntil($downtime->start) ?>
+ = $downtime->is_in_effect ? $this->timeSince($downtime->start, $this->compact) : $this->timeUntil($downtime->start, $this->compact) ?>
|
diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
index 03a03557c..1f09f80d7 100644
--- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml
+++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
@@ -94,7 +94,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
= $this->escape($title); ?>
- = $this->timeAgo($event->timestamp); ?>
+ = $this->timeAgo($event->timestamp, $this->compact); ?>
|
diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml
index 0448fb269..09b58cfa3 100644
--- a/modules/monitoring/application/views/scripts/list/hosts.phtml
+++ b/modules/monitoring/application/views/scripts/list/hosts.phtml
@@ -83,7 +83,7 @@ if ($hosts->count() === 0) {
= Host::getStateText($host->host_state, true); ?>
host_state !== 99): ?>
- = $this->timeSince($host->host_last_state_change) ?>
+ = $this->timeSince($host->host_last_state_change, $this->compact) ?>
host_state > 0 && (int) $host->host_state_type === 0): ?>
Soft = $host->host_attempt ?>
diff --git a/modules/monitoring/application/views/scripts/list/notifications.phtml b/modules/monitoring/application/views/scripts/list/notifications.phtml
index a037aca25..c934f674b 100644
--- a/modules/monitoring/application/views/scripts/list/notifications.phtml
+++ b/modules/monitoring/application/views/scripts/list/notifications.phtml
@@ -34,7 +34,7 @@ use Icinga\Module\Monitoring\Object\Service;
?>
|
- = $this->timeAgo($notification->notification_start_time) ?>
+ = $this->timeAgo($notification->notification_start_time, $this->compact) ?>
|
diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml
index 38391bfc0..d6dd14815 100644
--- a/modules/monitoring/application/views/scripts/list/services.phtml
+++ b/modules/monitoring/application/views/scripts/list/services.phtml
@@ -59,7 +59,7 @@ foreach ($services as $service):
= Service::getStateText($service->service_state, true); ?>
service_state !== 99): ?>
- = $this->timeSince($service->service_last_state_change) ?>
+ = $this->timeSince($service->service_last_state_change, $this->compact) ?>
service_state > 0 && (int) $service->service_state_type === 0): ?>
Soft = $service->service_attempt ?>
|