monitoring: Remove icon from tab for multiple selected hosts

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-10 16:54:35 +01:00
parent 317bb24856
commit 5c849d2479
1 changed files with 2 additions and 3 deletions

View File

@ -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');