From e6f61d364f4948846f975468b1f1a398eb579992 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 24 Jun 2016 14:57:01 -0400 Subject: [PATCH] fix survey wording --- awx/ui/client/src/forms/JobTemplates.js | 2 +- .../shared/question-definition.form.js | 14 +++++++------- awx/ui/client/src/partials/survey-maker-modal.html | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/awx/ui/client/src/forms/JobTemplates.js b/awx/ui/client/src/forms/JobTemplates.js index 140bfe948f..297513c1bf 100644 --- a/awx/ui/client/src/forms/JobTemplates.js +++ b/awx/ui/client/src/forms/JobTemplates.js @@ -326,7 +326,7 @@ export default ngClick: 'addSurvey()', ngShow: 'job_type.value !== "scan" && !survey_exists', awFeature: 'surveys', - awToolTip: 'Surveys allow users to be prompted at job launch with a series of questions related to the job', + awToolTip: 'Surveys allow users to be prompted at job launch with a series of questions related to the job. This allows for variables to be defined that affect the playbook run at time of launch.', dataPlacement: 'top' }, edit_survey: { diff --git a/awx/ui/client/src/job-templates/survey-maker/shared/question-definition.form.js b/awx/ui/client/src/job-templates/survey-maker/shared/question-definition.form.js index b8a381ca01..32b1c1dd9a 100644 --- a/awx/ui/client/src/job-templates/survey-maker/shared/question-definition.form.js +++ b/awx/ui/client/src/job-templates/survey-maker/shared/question-definition.form.js @@ -13,8 +13,8 @@ export default { - addTitle: 'Add Question', - editTitle: 'Edit Question', + addTitle: 'Add Survey Prompt', + editTitle: 'Edit Survey Prompt', titleClass: 'Form-secondaryTitle', base: 'survey_question', name: 'survey_question', @@ -24,7 +24,7 @@ export default fields: { question_name: { realName: 'question_text', - label: 'Name', + label: 'Prompt', type: 'text', addRequired: true, editRequired: true, @@ -42,12 +42,12 @@ export default class: 'Form-formGroup--singleColumn' }, variable: { - ealName: 'variable', + realName: 'variable', type: 'custom', control:''+ + ' '+ '
'+ '
Please enter an answer variable name.
'+ '
Please remove the illegal character from the survey question variable name.
'+ diff --git a/awx/ui/client/src/partials/survey-maker-modal.html b/awx/ui/client/src/partials/survey-maker-modal.html index 91d02e1e2b..b87b6f961b 100644 --- a/awx/ui/client/src/partials/survey-maker-modal.html +++ b/awx/ui/client/src/partials/survey-maker-modal.html @@ -42,7 +42,7 @@
PREVIEW
-
PLEASE ADD A QUESTION ON THE LEFT
+
PLEASE ADD A SURVEY PROMPT ON THE LEFT.