diff --git a/awx/ui/client/src/notifications/notificationTemplates.form.js b/awx/ui/client/src/notifications/notificationTemplates.form.js index 49a7062d2c..2c253b0f8a 100644 --- a/awx/ui/client/src/notifications/notificationTemplates.form.js +++ b/awx/ui/client/src/notifications/notificationTemplates.form.js @@ -589,6 +589,19 @@ export default ['i18n', function(i18n) { default: false, ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)', }, + custom_message_description: { + type: 'alertblock', + ngShow: "customize_messages", + alertTxt: i18n._('Use custom messages to change the content of notifications ' + + 'sent when a job starts, succeeds, or fails. Use curly braces to access ' + + 'information about the job: {{ job_friendly_name }}, ' + + '{{ url }}, or attributes of the job such as ' + + '{{ job.status }}. You may apply a number of possible ' + + 'variables in the message. Refer to the ' + + 'Ansible ' + + 'Tower documentation for more details.'), + closeable: false + }, started_message: { label: i18n._('Start Message'), class: 'Form-formGroup--fullWidth', @@ -600,7 +613,7 @@ export default ['i18n', function(i18n) { ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)', }, started_body: { - label: i18n._('Start Expanded Message'), + label: i18n._('Start Message Body'), class: 'Form-formGroup--fullWidth', type: 'syntax_highlight', mode: 'jinja2', @@ -619,7 +632,7 @@ export default ['i18n', function(i18n) { ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)', }, success_body: { - label: i18n._('Success Expanded Message'), + label: i18n._('Success Message Body'), class: 'Form-formGroup--fullWidth', type: 'syntax_highlight', mode: 'jinja2', @@ -638,7 +651,7 @@ export default ['i18n', function(i18n) { ngDisabled: '!(notification_template.summary_fields.user_capabilities.edit || canAdd)', }, error_body: { - label: i18n._('Error Expanded Message'), + label: i18n._('Error Message Body'), class: 'Form-formGroup--fullWidth', type: 'syntax_highlight', mode: 'jinja2',