IcingaServiceForm: move hint to custom vars group

This commit is contained in:
Thomas Gelf 2016-10-20 01:35:36 +00:00
parent 76936c7efb
commit 32790dbedc
2 changed files with 13 additions and 2 deletions

View File

@ -136,7 +136,18 @@ class IcingaServiceForm extends DirectorObjectForm
array('data-base-target' => '_next')
);
$this->addHtmlHint(sprintf($msg, $link));
$this->addHtmlHint(
sprintf($msg, $link),
array('name' => 'inheritance_hint')
);
$this->addElementsToGroup(
array('inheritance_hint'),
'custom_fields',
50,
$this->translate('Custom properties')
);
$this->setSubmitLabel(
$this->translate('Override vars')
);

View File

@ -587,7 +587,7 @@ fieldset {
margin: 0;
}
dd, dt, ul {
dd, dt, ul, div {
display: none;
}