monitoring: Remove icon from tab for multiple selected services

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-10 13:23:08 +01:00
parent 818105bc45
commit 96a12495c3

View File

@ -39,13 +39,12 @@ class ServicesController extends Controller
$this->getTabs()->add( $this->getTabs()->add(
'show', 'show',
array( array(
'label' => $this->translate('Services') . sprintf(' (%d)', count($this->serviceList)),
'title' => sprintf( 'title' => sprintf(
$this->translate('Show summarized information for %u services'), $this->translate('Show summarized information for %u services'),
count($this->serviceList) count($this->serviceList)
), ),
'label' => $this->translate('Services') . sprintf(' (%d)', count($this->serviceList)), 'url' => Url::fromRequest()
'url' => Url::fromRequest(),
'icon' => 'services'
) )
)->extend(new DashboardAction())->extend(new MenuAction())->activate('show'); )->extend(new DashboardAction())->extend(new MenuAction())->activate('show');
} }