From ce3c2507efbecd8977068886f77046883dd23843 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 13 Mar 2015 00:26:45 +0100 Subject: [PATCH] Show reachability in the host and service detail view refs #6875 --- .../scripts/show/components/checksource.phtml | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/checksource.phtml b/modules/monitoring/application/views/scripts/show/components/checksource.phtml index 60bb944f3..07e63e835 100644 --- a/modules/monitoring/application/views/scripts/show/components/checksource.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checksource.phtml @@ -1,7 +1,20 @@ -check_source) return ?> +check_source !== null): ?> - translate('Check Source') ?> - - escape($object->check_source) ?> - + + translate('Check Source') ?> + + + escape($object->check_source) ?> + + +is_reachable !== null): ?> + + + translate('Reachable') ?> + + + is_reachable ? $this->translate('Yes') : $this->translate('No') ?> + + +