mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
JobsController: use import/sync tabs
This commit is contained in:
parent
baf6d8f62f
commit
f36e57eb46
@ -10,11 +10,7 @@ class JobsController extends ActionController
|
|||||||
{
|
{
|
||||||
$this->setAutoRefreshInterval(10);
|
$this->setAutoRefreshInterval(10);
|
||||||
$this->view->title = $this->translate('Jobs');
|
$this->view->title = $this->translate('Jobs');
|
||||||
|
$this->setImportTabs()->activate('jobs');
|
||||||
$this->getTabs()->add('jobs', array(
|
|
||||||
'url' => 'director/jobs',
|
|
||||||
'label' => $this->translate('Jobs'),
|
|
||||||
))->activate('jobs');
|
|
||||||
|
|
||||||
$this->view->addLink = $this->view->qlink(
|
$this->view->addLink = $this->view->qlink(
|
||||||
$this->translate('Add'),
|
$this->translate('Add'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user