-
Notifications
You must be signed in to change notification settings - Fork 16
/
configuration.php
39 lines (34 loc) · 1.02 KB
/
configuration.php
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
31
32
33
34
35
36
37
38
39
<?php
/** @var \Icinga\Application\Modules\Module $this */
$section = $this->menuSection(N_('Jira'))
->setUrl('jira')
->setPriority(63)
->setIcon('tasks');
$section->add(N_('Issues'))->setUrl('jira/issues')->setPriority(10);
$this->providePermission('jira/issue/create', $this->translate('Allow to manually create issues'));
$this->provideConfigTab(
'deployment',
[
'title' => $this->translate('Configuration'),
'label' => $this->translate('Configuration'),
'url' => 'configuration'
]
);
$this->provideConfigTab(
'templates',
[
'title' => $this->translate('Configure templates'),
'label' => $this->translate('Templates Configuration'),
'url' => 'templates'
]
);
if ($this->app->getModuleManager()->hasEnabled('director')) {
$this->provideConfigTab(
'director',
[
'label' => t('Director Config'),
'title' => t('Director Config Preview'),
'url' => 'configuration/director'
]
);
}