Host multiselection view: Add dashboard action

refs #7876
This commit is contained in:
Johannes Meyer 2015-04-20 14:59:05 +02:00
parent 48df225f98
commit 4e27ff962c

View File

@ -15,6 +15,7 @@ use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\HostList; use Icinga\Module\Monitoring\Object\HostList;
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_HostsController extends Controller class Monitoring_HostsController extends Controller
{ {
@ -80,7 +81,7 @@ class Monitoring_HostsController extends Controller
'label' => $this->translate('Hosts'), 'label' => $this->translate('Hosts'),
'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