From 64b731537923b971bc157c3ae5c5db3e0cd1ad3f Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 14:56:22 +0200 Subject: [PATCH] monitoring: Don't render an empty table if there are no services to list refs #5543 --- .../views/scripts/list/services.phtml | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml index be30e0778..08d955740 100644 --- a/modules/monitoring/application/views/scripts/list/services.phtml +++ b/modules/monitoring/application/views/scripts/list/services.phtml @@ -20,6 +20,10 @@ if (! $this->compact): ?>
+hasResult()): ?> +

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

+
+ compact): ?>
- hasResult()): ?> - translate('No services found matching the filter'); ?> - hasMore()): ?> -
- qlink( - $this->translate('Show More'), - $this->url()->without(array('view', 'limit')), - null, - array( - 'data-base-target' => '_next', - 'class' => 'action-link' - ) - ) ?> -
- +hasMore()): ?> +
+ qlink( + $this->translate('Show More'), + $this->url()->without(array('view', 'limit')), + null, + array( + 'data-base-target' => '_next', + 'class' => 'action-link' + ) + ) ?> +
+