From 32790dbedc9af7ea8bcc17eadf0dd0b419af3fe1 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 20 Oct 2016 01:35:36 +0000 Subject: [PATCH] IcingaServiceForm: move hint to custom vars group --- application/forms/IcingaServiceForm.php | 13 ++++++++++++- public/css/module.less | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/application/forms/IcingaServiceForm.php b/application/forms/IcingaServiceForm.php index 2ba934de..d138251e 100644 --- a/application/forms/IcingaServiceForm.php +++ b/application/forms/IcingaServiceForm.php @@ -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') ); diff --git a/public/css/module.less b/public/css/module.less index 697a55aa..4628269c 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -587,7 +587,7 @@ fieldset { margin: 0; } - dd, dt, ul { + dd, dt, ul, div { display: none; }