diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index 3f882a733..2dd62761e 100644 --- a/modules/monitoring/application/views/scripts/list/downtimes.phtml +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -19,8 +19,10 @@ if (count($downtimes) === 0) { return; } ?> - -
-
- = $this->icon('service', $this->translate('Service')); ?>
- = $this->link()->service(
- $downtime->service_description, $downtime->service_display_name, $downtime->host_name, $downtime->host_display_name
- ) ?>
-
- = $this->icon('host', $this->translate('Host')); ?>
- = $this->link()->host($downtime->host_name, $downtime->host_display_name) ?>
-
+ icon('service');
+ } else {
+ echo $this->icon('host');
+ }
+ ?>
+ = $this->qlink(
+ sprintf($this->translate('%s on %s', 'Service running on host'), $downtime->service_display_name, $downtime->host_display_name),
+ 'monitoring/downtime/show',
+ array('downtime_id' => $downtime->id),
+ array('title' => sprintf(
+ $this->translate('Show detailed information for downtime on %s for %s'),
+ $downtime->service_display_name,
+ $downtime->host_display_name
+ ))) ?>
= $this->icon('comment', $this->translate('Comment')); ?> [= $this->escape($downtime->author_name) ?>] = $this->escape($downtime->comment) ?> |