summaryrefslogtreecommitdiffstats
path: root/awx/ui/client/src/notifications/edit/edit.controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'awx/ui/client/src/notifications/edit/edit.controller.js')
-rw-r--r--awx/ui/client/src/notifications/edit/edit.controller.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/awx/ui/client/src/notifications/edit/edit.controller.js b/awx/ui/client/src/notifications/edit/edit.controller.js
index 0d871dd26f..dfde2038e9 100644
--- a/awx/ui/client/src/notifications/edit/edit.controller.js
+++ b/awx/ui/client/src/notifications/edit/edit.controller.js
@@ -122,7 +122,14 @@ export default ['Rest', 'Wait',
multiple: false
});
- $scope.hipchatColors = [i18n._('Gray'), i18n._('Green'), i18n._('Purple'), i18n._('Red'), i18n._('Yellow'), i18n._('Random')];
+ $scope.hipchatColors = [
+ {'id': 'gray', 'name': i18n._('Gray')},
+ {'id': 'green', 'name': i18n._('Green')},
+ {'id': 'purple', 'name': i18n._('Purple')},
+ {'id': 'red', 'name': i18n._('Red')},
+ {'id': 'yellow', 'name': i18n._('Yellow')},
+ {'id': 'random', 'name': i18n._('Random')}
+ ];
CreateSelect2({
element: '#notification_template_color',
multiple: false