Skip to content

Commit

Permalink
BasketForm: allow Notification Templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Gelf committed Apr 9, 2020
1 parent 63e3a69 commit 80f9ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/forms/BasketForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ protected function getAvailableTypes()
'IcingaTemplateChoiceService' => $this->translate('Service Template Choice'),
'ServiceTemplate' => $this->translate('Service Templates'),
'ServiceSet' => $this->translate('Service Sets'),
'NotificationTemplate' => $this->translate('Notification Templates'),
'Notification' => $this->translate('Notifications'),
'TimePeriod' => $this->translate('Time Periods'),
'Dependency' => $this->translate('Dependencies'),
Expand Down
2 changes: 2 additions & 0 deletions library/Director/DirectorObject/Automation/BasketSnapshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class BasketSnapshot extends DbObject
'IcingaTemplateChoiceService' => IcingaTemplateChoiceService::class,
'ServiceTemplate' => IcingaService::class,
'ServiceSet' => IcingaServiceSet::class,
'NotificationTemplate' => IcingaNotification::class,
'Notification' => IcingaNotification::class,
'DataList' => DirectorDatalist::class,
'Dependency' => IcingaDependency::class,
Expand Down Expand Up @@ -72,6 +73,7 @@ class BasketSnapshot extends DbObject
'IcingaTemplateChoiceService',
'ServiceTemplate',
'ServiceSet',
'NotificationTemplate',
'Notification',
'Dependency',
'ImportSource',
Expand Down

0 comments on commit 80f9ea2

Please sign in to comment.