From bb67642d4b956052e4d80cc980be2e031735870d Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 4 Sep 2015 15:33:55 +0200 Subject: [PATCH] monitoring/detail: Hide next check counter if the service is pending --- .../views/scripts/show/components/checkstatistics.phtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml index 415b66b76..c2338749c 100644 --- a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml @@ -55,7 +55,9 @@ if ($object->getType() === $object::TYPE_HOST) { ); } } ?> - timeUntil($object->next_check) ?> + state !== 99) { + echo $this->timeUntil($object->next_check); + } ?>