From 5c849d2479f08bb490037e4aa63cd552e4dd3ca7 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 10 Nov 2015 16:54:35 +0100 Subject: [PATCH] monitoring: Remove icon from tab for multiple selected hosts refs #5543 --- .../monitoring/application/controllers/HostsController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/controllers/HostsController.php b/modules/monitoring/application/controllers/HostsController.php index 487f7246b..571e8ed88 100644 --- a/modules/monitoring/application/controllers/HostsController.php +++ b/modules/monitoring/application/controllers/HostsController.php @@ -37,13 +37,12 @@ class HostsController extends Controller $this->getTabs()->add( 'show', array( + 'label' => $this->translate('Hosts') . sprintf(' (%d)', count($this->hostList)), 'title' => sprintf( $this->translate('Show summarized information for %u hosts'), count($this->hostList) ), - 'label' => $this->translate('Hosts') . sprintf(' (%d)', count($this->hostList)), - 'url' => Url::fromRequest(), - 'icon' => 'host' + 'url' => Url::fromRequest() ) )->extend(new DashboardAction())->extend(new MenuAction())->activate('show'); $this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/hosts');