From 0b633a25bab3425b0adc0f9ca4c4ab48a3a707f2 Mon Sep 17 00:00:00 2001 From: Tina Yip <98424339+tiyiprh@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:46:02 -0400 Subject: [PATCH] [UXD][AAP-28389] AWX - updates to Jobs and Templates section popovers (#2931) --- frontend/awx/resources/templates/JobTemplateInputs.tsx | 8 ++++---- .../awx/resources/templates/WorkflowJobTemplateInputs.tsx | 2 +- frontend/awx/views/jobs/JobDetails.tsx | 2 +- frontend/awx/views/jobs/hooks/useJobsColumns.tsx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/awx/resources/templates/JobTemplateInputs.tsx b/frontend/awx/resources/templates/JobTemplateInputs.tsx index 19240c1c53..c60127d899 100644 --- a/frontend/awx/resources/templates/JobTemplateInputs.tsx +++ b/frontend/awx/resources/templates/JobTemplateInputs.tsx @@ -151,7 +151,7 @@ export function JobTemplateInputs(props: { jobtemplate?: JobTemplateForm }) { placeholder={t('Select credentials')} labelHelpTitle={t('Credentials')} labelHelp={t( - 'Select credentials for accessing the nodes this job will be ran against. You can only select one credential of each type. For machine credentials (SSH), checking "Prompt on launch" without selecting credentials will require you to select a machine credential at run time. If you select credentials and check "Prompt on launch", the selected credential(s) become the defaults that can be updated at run time.' + 'Select credentials for accessing the nodes this job will be ran against. You can only select one credential of each type. For machine credentials (SSH), checking "Prompt on launch" without selecting credentials will require you to select a machine credential at run time. If you select credentials and check "Prompt on launch," the selected credential(s) become the defaults that can be updated at run time.' )} isMultiple queryParams={{ credential_type__kind__in: acceptableCredentialKinds.join(',') }} @@ -159,7 +159,7 @@ export function JobTemplateInputs(props: { jobtemplate?: JobTemplateForm }) { @@ -279,7 +279,7 @@ export function JobTemplateInputs(props: { jobtemplate?: JobTemplateForm }) { } labelHelpTitle={t('Extra Variables')} - labelHelp={t(`Optional extra variables to be applied to job template`)} + labelHelp={t(`Optional extra variables to be applied to job template.`)} format="yaml" label={t('Extra Variables')} name="extra_vars" diff --git a/frontend/awx/resources/templates/WorkflowJobTemplateInputs.tsx b/frontend/awx/resources/templates/WorkflowJobTemplateInputs.tsx index 4db3b2746b..b76d91c2bf 100644 --- a/frontend/awx/resources/templates/WorkflowJobTemplateInputs.tsx +++ b/frontend/awx/resources/templates/WorkflowJobTemplateInputs.tsx @@ -110,7 +110,7 @@ export function WorkflowJobTemplateInputs(props: { } labelHelpTitle={t('Extra Variables')} - labelHelp={t(`Optional extra variables to be applied to job template`)} + labelHelp={t(`Optional extra variables to be applied to job template.`)} format="yaml" label={t('Extra Variables')} name="extra_vars" diff --git a/frontend/awx/views/jobs/JobDetails.tsx b/frontend/awx/views/jobs/JobDetails.tsx index 6bc9b6e607..fbc47d262b 100644 --- a/frontend/awx/views/jobs/JobDetails.tsx +++ b/frontend/awx/views/jobs/JobDetails.tsx @@ -103,7 +103,7 @@ export function JobDetails() { {verbosity} diff --git a/frontend/awx/views/jobs/hooks/useJobsColumns.tsx b/frontend/awx/views/jobs/hooks/useJobsColumns.tsx index 0fadeeb410..61d1858f1c 100644 --- a/frontend/awx/views/jobs/hooks/useJobsColumns.tsx +++ b/frontend/awx/views/jobs/hooks/useJobsColumns.tsx @@ -238,7 +238,7 @@ export function useJobsColumns(options?: { disableSort?: boolean; disableLinks?: {job.summary_fields?.inventory?.name} ), - helpText: t('Inventory used on this job'), + helpText: t('Inventory used on this job.'), value: (job: UnifiedJob) => job.summary_fields?.inventory?.name, table: ColumnTableOption.expanded, card: 'hidden',