Service multiselection view: Add dashboard action

refs #7876
This commit is contained in:
Johannes Meyer 2015-04-20 14:59:20 +02:00
parent 4e27ff962c
commit 41222fd34e
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ use Icinga\Module\Monitoring\Object\Service;
use Icinga\Module\Monitoring\Object\ServiceList; use Icinga\Module\Monitoring\Object\ServiceList;
use Icinga\Web\Url; use Icinga\Web\Url;
use Icinga\Web\Widget\Chart\InlinePie; use Icinga\Web\Widget\Chart\InlinePie;
use Icinga\Web\Widget\Tabextension\DashboardAction;
class Monitoring_ServicesController extends Controller class Monitoring_ServicesController extends Controller
{ {
@ -103,7 +104,7 @@ class Monitoring_ServicesController extends Controller
'label' => $this->translate('Services'), 'label' => $this->translate('Services'),
'url' => Url::fromRequest() 'url' => Url::fromRequest()
) )
)->activate('show'); )->extend(new DashboardAction())->activate('show');
$this->setAutorefreshInterval(15); $this->setAutorefreshInterval(15);
$checkNowForm = new CheckNowCommandForm(); $checkNowForm = new CheckNowCommandForm();
$checkNowForm $checkNowForm