mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #9813 from nixocio/ui_capital_issue
Update capitalization for a few screens Update capitalization for EE and Instance Groups screens to better align with mock ups. Reviewed-by: Jake McDermott <yo@jakemcdermott.me> Reviewed-by: Rebeccah Hunter <rhunter@redhat.com> Reviewed-by: Tiago Góes <tiago.goes2009@gmail.com>
This commit is contained in:
commit
33f1197b23
@ -10,8 +10,8 @@ import ScreenHeader from '../../components/ScreenHeader/ScreenHeader';
|
||||
|
||||
function ExecutionEnvironments({ i18n }) {
|
||||
const [breadcrumbConfig, setBreadcrumbConfig] = useState({
|
||||
'/execution_environments': i18n._(t`Execution environments`),
|
||||
'/execution_environments/add': i18n._(t`Create Execution environments`),
|
||||
'/execution_environments': i18n._(t`Execution Environments`),
|
||||
'/execution_environments/add': i18n._(t`Create new execution environment`),
|
||||
});
|
||||
|
||||
const buildBreadcrumbConfig = useCallback(
|
||||
@ -20,8 +20,10 @@ function ExecutionEnvironments({ i18n }) {
|
||||
return;
|
||||
}
|
||||
setBreadcrumbConfig({
|
||||
'/execution_environments': i18n._(t`Execution environments`),
|
||||
'/execution_environments/add': i18n._(t`Create Execution environments`),
|
||||
'/execution_environments': i18n._(t`Execution Environments`),
|
||||
'/execution_environments/add': i18n._(
|
||||
t`Create new execution environment`
|
||||
),
|
||||
[`/execution_environments/${executionEnvironments.id}`]: `${executionEnvironments.name}`,
|
||||
[`/execution_environments/${executionEnvironments.id}/edit`]: i18n._(
|
||||
t`Edit details`
|
||||
|
||||
@ -13,9 +13,11 @@ import ScreenHeader from '../../components/ScreenHeader';
|
||||
|
||||
function InstanceGroups({ i18n }) {
|
||||
const [breadcrumbConfig, setBreadcrumbConfig] = useState({
|
||||
'/instance_groups': i18n._(t`Instance groups`),
|
||||
'/instance_groups/add': i18n._(t`Create instance group`),
|
||||
'/instance_groups/container_group/add': i18n._(t`Create container group`),
|
||||
'/instance_groups': i18n._(t`Instance Groups`),
|
||||
'/instance_groups/add': i18n._(t`Create new instance group`),
|
||||
'/instance_groups/container_group/add': i18n._(
|
||||
t`Create new container group`
|
||||
),
|
||||
});
|
||||
|
||||
const buildBreadcrumbConfig = useCallback(
|
||||
@ -24,10 +26,10 @@ function InstanceGroups({ i18n }) {
|
||||
return;
|
||||
}
|
||||
setBreadcrumbConfig({
|
||||
'/instance_groups': i18n._(t`Instance group`),
|
||||
'/instance_groups/add': i18n._(t`Create instance group`),
|
||||
'/instance_groups': i18n._(t`Instance Groups`),
|
||||
'/instance_groups/add': i18n._(t`Create new instance group`),
|
||||
'/instance_groups/container_group/add': i18n._(
|
||||
t`Create container group`
|
||||
t`Create new container group`
|
||||
),
|
||||
|
||||
[`/instance_groups/${instanceGroups.id}/details`]: i18n._(t`Details`),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user