From 5da88d076724a425ce51c1cd819c5489860c8e2d Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 1 Sep 2015 09:33:20 +0200 Subject: [PATCH] monitoring: Fix deprecated links fixes #10056 --- modules/monitoring/application/views/scripts/host/history.phtml | 2 +- .../monitoring/application/views/scripts/list/servicegrid.phtml | 2 +- .../monitoring/application/views/scripts/list/services.phtml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/views/scripts/host/history.phtml b/modules/monitoring/application/views/scripts/host/history.phtml index 82b6f752d..1edba3d89 100644 --- a/modules/monitoring/application/views/scripts/host/history.phtml +++ b/modules/monitoring/application/views/scripts/host/history.phtml @@ -125,7 +125,7 @@ if (! $this->compact): ?> $this->translate('%s on %s', 'Service running on host'), $this->qlink( $event->service_display_name, - 'monitoring/show/service', + 'monitoring/service/show', array( 'host' => $event->host_name, 'service' => $event->service_description diff --git a/modules/monitoring/application/views/scripts/list/servicegrid.phtml b/modules/monitoring/application/views/scripts/list/servicegrid.phtml index 22d730515..3c9078683 100644 --- a/modules/monitoring/application/views/scripts/list/servicegrid.phtml +++ b/modules/monitoring/application/views/scripts/list/servicegrid.phtml @@ -70,7 +70,7 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ' qlink( '', - 'monitoring/show/service', + 'monitoring/service/show', array( 'host' => $hostName, 'service' => $serviceDescription diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml index b12e3176c..d2dfb250a 100644 --- a/modules/monitoring/application/views/scripts/list/services.phtml +++ b/modules/monitoring/application/views/scripts/list/services.phtml @@ -33,7 +33,7 @@ if (! $this->compact): ?> ) ); $hostLink = $this->href( - 'monitoring/show/host', + 'monitoring/host/show', array( 'host' => $service->host_name, )