Merge pull request #1433 from dgoetz/servicegroup-set
Add Servicegroups directly to Services
This commit is contained in:
commit
b8809af2af
|
@ -475,6 +475,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
||||||
$this->addNameElement()
|
$this->addNameElement()
|
||||||
->addChoices('service')
|
->addChoices('service')
|
||||||
->addDisabledElement()
|
->addDisabledElement()
|
||||||
|
->addGroupsElement()
|
||||||
->groupMainProperties()
|
->groupMainProperties()
|
||||||
->addCheckCommandElements()
|
->addCheckCommandElements()
|
||||||
->addExtraInfoElements()
|
->addExtraInfoElements()
|
||||||
|
@ -521,6 +522,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
||||||
|
|
||||||
$this->addNameElement()
|
$this->addNameElement()
|
||||||
->addDisabledElement()
|
->addDisabledElement()
|
||||||
|
->addGroupsElement()
|
||||||
->groupMainProperties();
|
->groupMainProperties();
|
||||||
|
|
||||||
if ($this->hasPermission('director/admin')) {
|
if ($this->hasPermission('director/admin')) {
|
||||||
|
|
Loading…
Reference in New Issue