From 96a12495c32f277ce174545ff1121c73d9bc1dcf Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 10 Nov 2015 13:23:08 +0100 Subject: [PATCH] monitoring: Remove icon from tab for multiple selected services refs #5543 --- .../application/controllers/ServicesController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/controllers/ServicesController.php b/modules/monitoring/application/controllers/ServicesController.php index 9ec11d155..5373431dc 100644 --- a/modules/monitoring/application/controllers/ServicesController.php +++ b/modules/monitoring/application/controllers/ServicesController.php @@ -39,13 +39,12 @@ class ServicesController extends Controller $this->getTabs()->add( 'show', array( + 'label' => $this->translate('Services') . sprintf(' (%d)', count($this->serviceList)), 'title' => sprintf( $this->translate('Show summarized information for %u services'), count($this->serviceList) ), - 'label' => $this->translate('Services') . sprintf(' (%d)', count($this->serviceList)), - 'url' => Url::fromRequest(), - 'icon' => 'services' + 'url' => Url::fromRequest() ) )->extend(new DashboardAction())->extend(new MenuAction())->activate('show'); }