From b281b563e0cdfa521208f84343771a2d22776e4e Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 18 Aug 2017 16:18:44 -0400 Subject: [PATCH] tooltip content audit for survey maker --- .../shared/question-definition.form.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/awx/ui/client/src/templates/survey-maker/shared/question-definition.form.js b/awx/ui/client/src/templates/survey-maker/shared/question-definition.form.js index 764bbf439d..f63df7978c 100644 --- a/awx/ui/client/src/templates/survey-maker/shared/question-definition.form.js +++ b/awx/ui/client/src/templates/survey-maker/shared/question-definition.form.js @@ -42,8 +42,7 @@ export default ['i18n', function(i18n){ realName: 'variable', type: 'custom', control:''+ '
'+ '
Please enter an answer variable name.
'+ @@ -62,7 +61,10 @@ export default ['i18n', function(i18n){ defaultText: i18n._('Choose an answer type'), ngOptions: 'answer_types.name for answer_types in answer_types track by answer_types.type', required: true, - + awPopOver: i18n._('Choose an answer type or format you want as the prompt for the user. Refer to the Ansible Tower Documentation for more additional information about each option.'), + dataTitle: i18n._('Answer Type'), + dataPlacement: 'right', + dataContainer: "body", column: 2, ngChange: 'typeChange()', class: 'Form-formGroup--singleColumn' @@ -76,12 +78,6 @@ export default ['i18n', function(i18n){ ngRequired: "type.type=== 'multiselect' || type.type=== 'multiplechoice' " , ngShow: 'type.type=== "multiselect" || type.type=== "multiplechoice" ', - awPopOver: '

Type an option on each line.

'+ - '

For example the following input:

Apple
\n Banana
\n Cherry

would be displayed as:

\n'+ - '
  1. Apple
  2. Banana
  3. Cherry
', - dataTitle: i18n._('Multiple Choice Options'), - dataPlacement: 'right', - dataContainer: "body", column: 2, class: 'Form-formGroup--singleColumn' },