mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-09 08:42:14 -04:00
Ipl-html SelectElement: Use options attr instead of multiOptions
This commit is contained in:
parent
cd6f8e87ff
commit
f818356ec6
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ class ProcessCheckResultForm extends CommandForm
|
|||
'required' => true,
|
||||
'label' => t('Status'),
|
||||
'description' => t('The state this check result should report'),
|
||||
'multiOptions' => $object instanceof Host ? [
|
||||
'options' => $object instanceof Host ? [
|
||||
ProcessCheckResultCommand::HOST_UP => t('UP', 'icinga.state'),
|
||||
ProcessCheckResultCommand::HOST_DOWN => t('DOWN', 'icinga.state')
|
||||
] : [
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ class ScheduleHostDowntimeForm extends ScheduleServiceDowntimeForm
|
|||
array(
|
||||
'description' => t('Schedule child downtimes.'),
|
||||
'label' => t('Child Options'),
|
||||
'multiOptions' => [
|
||||
'options' => [
|
||||
0 => t('Do nothing with child hosts'),
|
||||
1 => t('Schedule triggered downtime for all child hosts'),
|
||||
2 => t('Schedule non-triggered downtime for all child hosts')
|
||||
|
|
|
|||
Loading…
Reference in a new issue