mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
SyncForms: prepare command object sync
This commit is contained in:
parent
cbd09c69f0
commit
12310583b2
@ -234,6 +234,9 @@ class SyncPropertyForm extends DirectorObjectForm
|
|||||||
if ($dummy->supportsImports()) {
|
if ($dummy->supportsImports()) {
|
||||||
$special['import'] = $this->translate('Inheritance (import)');
|
$special['import'] = $this->translate('Inheritance (import)');
|
||||||
}
|
}
|
||||||
|
if ($dummy->supportsArguments()) {
|
||||||
|
$special['arguments'] = $this->translate('Arguments');
|
||||||
|
}
|
||||||
if ($dummy->supportsGroups()) {
|
if ($dummy->supportsGroups()) {
|
||||||
$special['groups'] = $this->translate('Group membership');
|
$special['groups'] = $this->translate('Group membership');
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ class SyncRuleForm extends DirectorObjectForm
|
|||||||
public function setup()
|
public function setup()
|
||||||
{
|
{
|
||||||
$availableTypes = array(
|
$availableTypes = array(
|
||||||
|
'command' => $this->translate('Command'),
|
||||||
'endpoint' => $this->translate('Endpoint'),
|
'endpoint' => $this->translate('Endpoint'),
|
||||||
'host' => $this->translate('Host'),
|
'host' => $this->translate('Host'),
|
||||||
'service' => $this->translate('Service'),
|
'service' => $this->translate('Service'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user