Skip to content

Commit

Permalink
feat(hpc-vmware-managed-vcd): add region & location in vcd dashboard
Browse files Browse the repository at this point in the history
  ref: MANAGER-15497

Signed-off-by: Paul Dickerson <[email protected]>
  • Loading branch information
Paul Dickerson committed Oct 18, 2024
1 parent e88ca5f commit 946e7d2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"managed_vcd_dashboard_datacentres_label": "datacentres",
"managed_vcd_dashboard_description": "Description",
"managed_vcd_dashboard_name": "Nom",
"managed_vcd_dashboard_localisation": "Région",
"managed_vcd_dashboard_location": "Localisation",
"managed_vcd_dashboard_region": "Région",
"managed_vcd_dashboard_datacentres_count": "Nombre de datacentres",
"managed_vcd_dashboard_management_interface": "Interface de gestion",
"managed_vcd_dashboard_management_interface_access": "Accéder à VCD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
Clipboard,
DashboardTile,
Region,
Description,
} from '@ovh-ux/manager-react-components';
import {
ODS_THEME_COLOR_HUE,
Expand Down Expand Up @@ -66,10 +67,9 @@ export default function OrganizationGenerationInformationTile({
},
{
id: 'location',
label: t('managed_vcd_dashboard_localisation'),
label: t('managed_vcd_dashboard_location'),
value: (
<OsdsText
className="mb-4"
level={ODS_THEME_TYPOGRAPHY_LEVEL.body}
size={ODS_THEME_TYPOGRAPHY_SIZE._400}
color={ODS_THEME_COLOR_INTENT.text}
Expand All @@ -82,6 +82,15 @@ export default function OrganizationGenerationInformationTile({
</OsdsText>
),
},
{
id: 'location',
label: t('managed_vcd_dashboard_region'),
value: (
<Description>
{vcdOrganization?.currentState?.region?.toLowerCase()}
</Description>
),
},
{
id: 'datacentresCount',
label: t('managed_vcd_dashboard_datacentres_count'),
Expand Down

0 comments on commit 946e7d2

Please sign in to comment.