From d107d18a3d988249cc76a132d6ed8086303eca67 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 14:59:11 +0200 Subject: [PATCH] monitoring: Don't render an empty table if there are no hosts to list refs #5543 --- .../monitoring/application/views/scripts/list/hosts.phtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index d8649195f1..8469e00e61 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -19,6 +19,10 @@ if (! $this->compact): ?>
+hasResult()): ?> +

translate('No hosts found matching the filter'.) ?>

+
+ compact): ?>
-hasResult()): ?> - translate('No hosts found matching the filter') ?> -hasMore()): ?> +hasMore()): ?>
qlink( $this->translate('Show More'),