From c7939c281ba4d7fc2fdbb5cbffb79473e772b358 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 8 Oct 2018 06:19:49 +0200 Subject: [PATCH] BasketForm: allow more object types --- application/forms/BasketForm.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/application/forms/BasketForm.php b/application/forms/BasketForm.php index 5887e745..c39b9d29 100644 --- a/application/forms/BasketForm.php +++ b/application/forms/BasketForm.php @@ -14,12 +14,19 @@ class BasketForm extends DirectorObjectForm protected function getAvailableTypes() { return [ + 'Command' => $this->translate('Command Definitions'), + 'HostGroup' => $this->translate('Host Group'), + 'IcingaTemplateChoiceHost' => $this->translate('Host Template Choice'), + 'HostTemplate' => $this->translate('Host Templates'), + 'ServiceGroup' => $this->translate('Service Groups'), + 'IcingaTemplateChoiceService' => $this->translate('Service Template Choice'), + 'ServiceTemplate' => $this->translate('Service Templates'), + 'ServiceSet' => $this->translate('Service Sets'), + 'Notification' => $this->translate('Notifications'), + 'Dependency' => $this->translate('Dependencies'), 'ImportSource' => $this->translate('Import Sources'), 'SyncRule' => $this->translate('Sync Rules'), - 'Job' => $this->translate('Job Definitions'), - 'HostTemplate' => $this->translate('Host Templates'), - 'ServiceSet' => $this->translate('Service Sets'), - 'ServiceTemplate' => $this->translate('Service Templates'), + 'DirectorJob' => $this->translate('Job Definitions'), 'Basket' => $this->translate('Basket Definitions'), ]; }