From ebe0a3acf5bd3d6668aaa004ee597aa86ef24e0a Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Tue, 26 Apr 2016 13:56:20 -0700 Subject: [PATCH] UI Popover Help for IRC/Slack Channel Names Adding information in the UI popover allowing the user to send names with or without a prepending symbol. --- .../src/notifications/notificationTemplates.form.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/notifications/notificationTemplates.form.js b/awx/ui/client/src/notifications/notificationTemplates.form.js index 8ecfc06eb6..926671bf54 100644 --- a/awx/ui/client/src/notifications/notificationTemplates.form.js +++ b/awx/ui/client/src/notifications/notificationTemplates.form.js @@ -51,7 +51,7 @@ export default function() { type: 'select', addRequired: true, editRequired: true, - class: 'NotificationsForm-typeSelect prepend-asterisk', + class: 'NotificationsForm-typeSelect', ngOptions: 'type.label for type in notification_type_options track by type.value', ngChange: 'typeChange()', hasSubForm: true @@ -144,7 +144,7 @@ export default function() { type: 'textarea', rows: 3, awPopOver: '

Type an option on each line. The pound symbol (#) is not required.

'+ - '

For example:
engineering
\n support
\n', + '

For example:
engineering
\n #support
\n', dataTitle: 'Destination Channels', dataPlacement: 'right', dataContainer: "body", @@ -326,6 +326,11 @@ export default function() { targets: { label: 'Destination Channels or Users', type: 'text', + awPopOver: '

Type an option on each line. The pound symbol (#) is not required.

'+ + '

For example:
#support or support
\n @username or username
\n', + dataTitle: 'Destination Channels', + dataPlacement: 'right', + dataContainer: "body", awRequiredWhen: { reqExpression: "irc_required", init: "false"