Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"addButton": "Add"
},
"ControlPlaneListView": {
"header": "Your instances of <span>ManagedControlPlane</span>",
"projectHeader": "Project:"
},
"ProjectsListView": {
Expand Down
5 changes: 5 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,9 @@ ui5-form-item {
ui5-toast {
width: 50ch;
max-width: 100%;
}

.mono-font {
font-family: 'Roboto Mono', monospace;
font-weight: bold;
}
13 changes: 10 additions & 3 deletions src/views/ControlPlanes/ControlPlaneListView.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { ObjectPage, ObjectPageTitle } from '@ui5/webcomponents-react';
import { ObjectPage, ObjectPageTitle, Title } from '@ui5/webcomponents-react';
import ProjectChooser from '../../components/Projects/ProjectChooser.tsx';
import { useParams } from 'react-router-dom';
import ControlPlaneListAllWorkspaces from '../../components/ControlPlanes/List/ControlPlaneListAllWorkspaces.tsx';
import IntelligentBreadcrumbs from '../../components/Core/IntelligentBreadcrumbs.tsx';
import { ControlPlaneListToolbar } from '../../components/ControlPlanes/List/ControlPlaneListToolbar.tsx';
import { useTranslation } from 'react-i18next';
import { Trans, useTranslation } from 'react-i18next';

export default function ControlPlaneListView() {
const { projectName } = useParams();
Expand All @@ -16,7 +16,14 @@ export default function ControlPlaneListView() {
preserveHeaderStateOnClick={true}
titleArea={
<ObjectPageTitle
header="Your MCPs"
header={
<Title>
<Trans
i18nKey="ControlPlaneListView.header"
components={{ span: <span className="mono-font" /> }}
/>
</Title>
}
subHeader={
<div
style={{
Expand Down