mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
Merge pull request #7707 from nixocio/ui_update_per_mockup
Update wording to equal mock up Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -11,7 +11,7 @@ import Breadcrumbs from '../../components/Breadcrumbs';
|
|||||||
function CredentialTypes({ i18n }) {
|
function CredentialTypes({ i18n }) {
|
||||||
const [breadcrumbConfig, setBreadcrumbConfig] = useState({
|
const [breadcrumbConfig, setBreadcrumbConfig] = useState({
|
||||||
'/credential_types': i18n._(t`Credential Types`),
|
'/credential_types': i18n._(t`Credential Types`),
|
||||||
'/credential_types/add': i18n._(t`Create Credential Types`),
|
'/credential_types/add': i18n._(t`Create new credential type`),
|
||||||
});
|
});
|
||||||
|
|
||||||
const buildBreadcrumbConfig = useCallback(
|
const buildBreadcrumbConfig = useCallback(
|
||||||
@@ -21,10 +21,10 @@ function CredentialTypes({ i18n }) {
|
|||||||
}
|
}
|
||||||
setBreadcrumbConfig({
|
setBreadcrumbConfig({
|
||||||
'/credential_types': i18n._(t`Credential Types`),
|
'/credential_types': i18n._(t`Credential Types`),
|
||||||
'/credential_types/add': i18n._(t`Create Credential Types`),
|
'/credential_types/add': i18n._(t`Create new credential Type`),
|
||||||
[`/credential_types/${credentialTypes.id}`]: `${credentialTypes.name}`,
|
[`/credential_types/${credentialTypes.id}`]: `${credentialTypes.name}`,
|
||||||
[`/credential_types/${credentialTypes.id}/edit`]: i18n._(
|
[`/credential_types/${credentialTypes.id}/edit`]: i18n._(
|
||||||
t`Edit Details`
|
t`Edit details`
|
||||||
),
|
),
|
||||||
[`/credential_types/${credentialTypes.id}/details`]: i18n._(t`Details`),
|
[`/credential_types/${credentialTypes.id}/details`]: i18n._(t`Details`),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ function TemplateList({ i18n }) {
|
|||||||
|
|
||||||
if (canAddJT) {
|
if (canAddJT) {
|
||||||
addButtonOptions.push({
|
addButtonOptions.push({
|
||||||
label: i18n._(t`Template`),
|
label: i18n._(t`Job Template`),
|
||||||
url: `/templates/job_template/add/`,
|
url: `/templates/job_template/add/`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user