mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-03 06:31:49 -05:00
add notification webhook fields
This commit is contained in:
@@ -138,6 +138,16 @@ export default ['Rest', 'Wait',
|
||||
element: '#notification_template_color',
|
||||
multiple: false
|
||||
});
|
||||
|
||||
$scope.httpMethodChoices = [
|
||||
{'id': 'post', 'name': i18n._('POST')},
|
||||
{'id': 'put', 'name': i18n._('PUT')},
|
||||
];
|
||||
CreateSelect2({
|
||||
element: '#notification_template_http_method',
|
||||
multiple: false,
|
||||
});
|
||||
|
||||
NotificationsTypeChange.getDetailFields($scope.notification_type.value).forEach(function(field) {
|
||||
$scope[field[0]] = field[1];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user