Merge branch 'feature/pdf-export-13'

This commit is contained in:
Alexander A. Klimov 2018-01-19 13:24:06 +01:00
commit 7a49024701

View file

@ -11,6 +11,7 @@ use Icinga\Module\Monitoring\DataView\DataView;
use Icinga\Web\Url;
use Icinga\Web\Widget\Tabextension\DashboardAction;
use Icinga\Web\Widget\Tabextension\MenuAction;
use Icinga\Web\Widget\Tabextension\OutputFormat;
class ListController extends MonitoringAwareController
{
@ -19,7 +20,10 @@ class ListController extends MonitoringAwareController
public function init()
{
parent::init();
$this->getTabs()->extend(new DashboardAction())->extend(new MenuAction());
$this->getTabs()
->extend(new OutputFormat([OutputFormat::TYPE_CSV, OutputFormat::TYPE_JSON]))
->extend(new DashboardAction())
->extend(new MenuAction());
}
public function hostsAction()