Skip to content

Commit

Permalink
[UXD][AAP-28389] AWX - updates to Credential Types section popovers (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiyiprh authored Aug 28, 2024
1 parent 8974a96 commit e5b3708
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/awx/access/credential-types/CredentialTypeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function CredentialTypeInputs() {
label={t('Input configuration')}
labelHelpTitle={t('Input configuration')}
labelHelp={t(
`Enter inputs using either JSON or YAML syntax. Refer to the Ansible Controller documentation for example syntax.`
`Input schema which defines a set of ordered fields for that type, either in JSON or YAML syntax. Refer to the Ansible Controller documentation for example syntax.`
)}
format="object"
/>
Expand All @@ -137,7 +137,7 @@ function CredentialTypeInputs() {
label={t('Injector configuration')}
labelHelpTitle={t('Injector configuration')}
labelHelp={t(
`Enter injectors using either JSON or YAML syntax. Refer to the Ansible Controller documentation for example syntax.`
`Environment variables or extra variables that specify the values a credential type can inject, either in JSON or YAML syntax. Refer to the Ansible Controller documentation for example syntax.`
)}
format="object"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ export function CredentialTypeDetailInner(props: { credentialType: CredentialTyp
<PageDetail label={t('Name')}>{renderCredentialTypeName(props.credentialType)}</PageDetail>
<PageDetail label={t('Description')}>{props.credentialType.description}</PageDetail>
<PageDetailCodeEditor
helpText={t('Input schema which defines a set of ordered fields for that type.')}
helpText={t(
'Input schema which defines a set of ordered fields for that type, either in JSON or YAML syntax. Refer to the Ansible Controller documentation for example syntax.'
)}
label={t('Input configuration')}
value={jsonToYaml(JSON.stringify(props.credentialType.inputs))}
/>
<PageDetailCodeEditor
helpText={t(
'Environment variables or extra variables that specify the values a credential type can inject.'
'Environment variables or extra variables that specify the values a credential type can inject, either in JSON or YAML syntax. Refer to the Ansible Controller documentation for example syntax.'
)}
label={t('Injector configuration')}
value={jsonToYaml(JSON.stringify(props.credentialType.injectors))}
Expand Down

0 comments on commit e5b3708

Please sign in to comment.