mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
Remove HipChat notification type
This commit is contained in:
@@ -168,22 +168,6 @@ export default ['i18n', function(i18n) {
|
||||
subForm: 'typeSubForm',
|
||||
ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)'
|
||||
},
|
||||
rooms: {
|
||||
label: i18n._('Destination Channels'),
|
||||
type: 'textarea',
|
||||
rows: 3,
|
||||
awPopOver: i18n._('Enter one HipChat channel per line. The pound symbol (#) is not required.'),
|
||||
dataTitle: i18n._('Destination Channels'),
|
||||
dataPlacement: 'right',
|
||||
dataContainer: "body",
|
||||
awRequiredWhen: {
|
||||
reqExpression: "room_required",
|
||||
init: "false"
|
||||
},
|
||||
ngShow: "notification_type.value == 'hipchat'",
|
||||
subForm: 'typeSubForm',
|
||||
ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)'
|
||||
},
|
||||
token: {
|
||||
labelBind: 'tokenLabel',
|
||||
type: 'sensitive',
|
||||
@@ -344,18 +328,6 @@ export default ['i18n', function(i18n) {
|
||||
subForm: 'typeSubForm',
|
||||
ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)'
|
||||
},
|
||||
api_url: {
|
||||
label: i18n._('API URL'),
|
||||
type: 'text',
|
||||
placeholder: 'https://mycompany.hipchat.com',
|
||||
awRequiredWhen: {
|
||||
reqExpression: "hipchat_required",
|
||||
init: "false"
|
||||
},
|
||||
ngShow: "notification_type.value == 'hipchat' ",
|
||||
subForm: 'typeSubForm',
|
||||
ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)'
|
||||
},
|
||||
message_from: {
|
||||
label: i18n._('Notification Label'),
|
||||
type: 'text',
|
||||
|
||||
Reference in New Issue
Block a user