blob: e6c680770f5578b3aac7fe6c57b2b61fe09869ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
namespace Icinga\Module\Director\Web\Tabs;
use gipfl\Translation\TranslationHelper;
use gipfl\IcingaWeb2\Widget\Tabs;
class ImportTabs extends Tabs
{
use TranslationHelper;
public function __construct()
{
$this->assemble();
}
protected function assemble()
{
$this->add('importsource', [
'label' => $this->translate('Import source'),
'url' => 'director/importsources'
])->add('syncrule', [
'label' => $this->translate('Sync rule'),
'url' => 'director/syncrules'
])->add('jobs', [
'label' => $this->translate('Jobs'),
'url' => 'director/jobs'
]);
}
}
|