diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index 106a61eb6..2b4c10c6d 100644 --- a/modules/monitoring/application/views/scripts/list/downtimes.phtml +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -40,7 +40,7 @@ if (! $this->compact): ?> $this->downtime = $downtime; $this->displayComment = true; ?> - + render('partials/downtime/downtime-header.phtml'); ?> 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 683375f13..4deea15e4 100644 --- a/modules/monitoring/application/views/scripts/partials/downtime/downtime-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/downtime/downtime-header.phtml @@ -12,28 +12,30 @@ icon('service', $this->translate('Service')); ?> qlink( $this->escape($downtime->host_display_name) . ': ' . $this->escape($downtime->service_display_name), - 'monitoring/downtime/show', - array('downtime_id' => $downtime->id), + 'monitoring/service/show', + array( + 'host' => $downtime->host_name, + 'service' => $downtime->service_description + ), array( 'title' => sprintf( $this->translate('Show detailed information for this downtime scheduled for service %s on host %s'), $downtime->service_display_name, $downtime->host_display_name - ), - 'class' => 'rowaction' + ) ) ); ?> icon('host', $this->translate('host')); ?> qlink( $this->escape($downtime->host_display_name), - 'monitoring/downtime/show', + 'monitoring/host/show', + array('host' => $downtime->host_name), array('downtime_id' => $downtime->id), array( 'title' => sprintf( $this->translate('Show detailed information for this downtime scheduled for host %s'), $downtime->host_display_name - ), - 'class' => 'rowaction' + ) ) ); ?>