TacticalController: Remove UI tab element for exports
This commit is contained in:
parent
4074d7b3ac
commit
2902f3330c
|
@ -8,16 +8,9 @@ use Icinga\Module\Monitoring\Controller;
|
|||
use Icinga\Web\Url;
|
||||
use Icinga\Web\Widget\Tabextension\DashboardAction;
|
||||
use Icinga\Web\Widget\Tabextension\MenuAction;
|
||||
use Icinga\Web\Widget\Tabextension\OutputFormat;
|
||||
|
||||
class TacticalController extends Controller
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
$this->createTabs();
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->setAutorefreshInterval(15);
|
||||
|
@ -111,12 +104,4 @@ class TacticalController extends Controller
|
|||
->render();
|
||||
$this->view->statusSummary = $summary;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create all tabs for this controller
|
||||
*/
|
||||
protected function createTabs()
|
||||
{
|
||||
$this->getTabs()->extend(new OutputFormat(['pdf']));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue