mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
append credential types documentation link to help popovers
This commit is contained in:
parent
d6d84e8f5e
commit
14a3a6073e
@ -37,8 +37,14 @@ export default ['Rest', 'Wait',
|
||||
callback: 'loadCredentialKindOptions'
|
||||
});
|
||||
|
||||
$scope.inputs_help_text = _.get(options, 'actions.POST.inputs.help_text', "Specification for credential type inputs");
|
||||
$scope.injectors_help_text = _.get(options, 'actions.POST.injectors.help_text', "Specification for credential type injector");
|
||||
const docs_url = 'https://docs.ansible.com/ansible-tower/latest/html/userguide/credential_types.html#getting-started-with-credential-types';
|
||||
const docs_help_text = `<br><br><a href=${docs_url}>Getting Started with Credential Types</a>`;
|
||||
|
||||
const api_inputs_help_text = _.get(options, 'actions.POST.inputs.help_text', "Specification for credential type inputs.");
|
||||
const api_injectors_help_text = _.get(options, 'actions.POST.injectors.help_text', "Specification for credential type injector.");
|
||||
|
||||
$scope.inputs_help_text = api_inputs_help_text + docs_help_text;
|
||||
$scope.injectors_help_text = api_injectors_help_text + docs_help_text;
|
||||
|
||||
if (!options.actions.POST) {
|
||||
$state.go("^");
|
||||
|
@ -36,8 +36,14 @@ export default ['Rest', 'Wait',
|
||||
callback: 'choicesReadyCredentialTypes'
|
||||
});
|
||||
|
||||
$scope.inputs_help_text = _.get(options, 'actions.POST.inputs.help_text', "Specification for credential type inputs");
|
||||
$scope.injectors_help_text = _.get(options, 'actions.POST.injectors.help_text', "Specification for credential type injector");
|
||||
const docs_url = 'https://docs.ansible.com/ansible-tower/latest/html/userguide/credential_types.html#getting-started-with-credential-types';
|
||||
const docs_help_text = `<br><br><a href=${docs_url}>Getting Started with Credential Types</a>`;
|
||||
|
||||
const api_inputs_help_text = _.get(options, 'actions.POST.inputs.help_text', "Specification for credential type inputs.");
|
||||
const api_injectors_help_text = _.get(options, 'actions.POST.injectors.help_text', "Specification for credential type injector.");
|
||||
|
||||
$scope.inputs_help_text = api_inputs_help_text + docs_help_text;
|
||||
$scope.injectors_help_text = api_injectors_help_text + docs_help_text;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user