diff --git a/awx/ui/client/src/notifications/notificationTemplates.form.js b/awx/ui/client/src/notifications/notificationTemplates.form.js index 0e15356be5..3f4e01ed55 100644 --- a/awx/ui/client/src/notifications/notificationTemplates.form.js +++ b/awx/ui/client/src/notifications/notificationTemplates.form.js @@ -97,8 +97,7 @@ export default ['i18n', function(i18n) { label: i18n._('Recipient List'), type: 'textarea', rows: 3, - awPopOver: '
' + i18n._('Type an option on each line.') + '
'+ - '' + i18n._('For example:') + '
alias1@email.com
\n alias2@email.com
\n',
+ awPopOver: i18n._('Enter one email address per line to create a recipient list for this type of notification.'),
dataTitle: i18n._('Recipient List'),
dataPlacement: 'right',
dataContainer: "body",
@@ -140,8 +139,7 @@ export default ['i18n', function(i18n) {
label: i18n._('Destination Channels'),
type: 'textarea',
rows: 3,
- awPopOver: '
' + i18n._('Type an option on each line. The pound symbol (#) is not required.') + '
'+ - '' + i18n._('For example:') + '
engineering
\n #support
\n',
+ awPopOver: i18n._('Enter one Slack channel per line. The pound symbol (#) is not required.'),
dataTitle: i18n._('Destination Channels'),
dataPlacement: 'right',
dataContainer: "body",
@@ -157,8 +155,7 @@ export default ['i18n', function(i18n) {
label: i18n._('Destination Channels'),
type: 'textarea',
rows: 3,
- awPopOver: '
' + i18n._('Type an option on each line. The pound symbol (#) is not required.') + '
'+ - '' + i18n._('For example:') + '
engineering
\n #support
\n',
+ awPopOver: i18n._('Enter one HipChat channel per line. The pound symbol (#) is not required.'),
dataTitle: i18n._('Destination Channels'),
dataPlacement: 'right',
dataContainer: "body",
@@ -198,8 +195,7 @@ export default ['i18n', function(i18n) {
label: i18n._('Source Phone Number'),
dataTitle: i18n._('Source Phone Number'),
type: 'text',
- awPopOver: '
' + i18n._('Number associated with the "Messaging Service" in Twilio.') + '
'+ - '' + i18n.sprintf(i18n._('This must be of the form %s.'), '+18005550199') + '
' + i18n._('Type an option on each line.') + '
'+ - '' + i18n._('For example:') + '+12125552368
\n+19105556162
\n',
+ awPopOver: i18n._('Enter one phone number per line to specify where to route SMS messages.'),
dataPlacement: 'right',
dataContainer: "body",
awRequiredWhen: {
@@ -297,8 +292,7 @@ export default ['i18n', function(i18n) {
dataTitle: i18n._('Notification Color'),
type: 'select',
ngOptions: 'color for color in hipchatColors track by color',
- awPopOver: '
' + i18n.sprintf(i18n._('Color can be one of %s.'), 'yellow, green, red, ' +
- 'purple, gray, random') + '\n',
+ awPopOver: i18n._('Specify a notification color. Acceptable colors are: yellow, green, red purple, gray or random.'),
awRequiredWhen: {
reqExpression: "hipchat_required",
init: "false"
@@ -336,13 +330,7 @@ export default ['i18n', function(i18n) {
reqExpression: "webhook_required",
init: "false"
},
- awPopOver: '
' + i18n._('Specify HTTP Headers in JSON format') + '
' + - '' + i18n._('For example:') + '
\n' +
- '{\n' +
- ' "X-Auth-Token": "828jf0",\n' +
- ' "X-Ansible": "Is great!"\n' +
- '}\n' +
- '',
+ awPopOver: i18n._('Specify HTTP Headers in JSON format. Refer to the Ansible Tower documentation for example syntax.'),
dataPlacement: 'right',
ngShow: "notification_type.value == 'webhook' ",
subForm: 'typeSubForm',
@@ -374,9 +362,8 @@ export default ['i18n', function(i18n) {
label: i18n._('Destination Channels or Users'),
type: 'textarea',
rows: 3,
- awPopOver: '' + i18n._('Type an option on each line. The pound symbol (#) is not required.') + '
'+ - '' + i18n._('For example:') + '
' + i18n.sprintf(i18n._('%s or %s'), '#support', 'support') + '
\n ' + i18n.sprintf(i18n._('%s or %s'), '@username', 'username') + '
\n',
- dataTitle: i18n._('Destination Channels'),
+ awPopOver: i18n._('Enter one IRC channel or username per line. The pound symbol (#) for channels, and the at (@) symbol for users, are not required.'),
+ dataTitle: i18n._('Destination Channels or Users'),
dataPlacement: 'right',
dataContainer: "body",
awRequiredWhen: {