added service name to service form
This commit is contained in:
parent
e930939a40
commit
e0d18d60d5
|
@ -564,7 +564,16 @@ class IcingaServiceForm extends DirectorObjectForm
|
|||
'Name for the Icinga service you are going to create'
|
||||
)
|
||||
));
|
||||
|
||||
|
||||
if ($this->isObject()) {
|
||||
$this->addElement('text', 'display_name', array(
|
||||
'label' => $this->translate('Display name'),
|
||||
'description' => $this->translate(
|
||||
'Name for the Icinga service you are going to create'
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
if ($this->object()->isApplyRule()) {
|
||||
$this->eventuallyAddNameRestriction('director/service/apply/filter-by-name');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue