diff --git a/src/assets/locales/de/servicerelease.json b/src/assets/locales/de/servicerelease.json
index 065ae125c..8939972ab 100644
--- a/src/assets/locales/de/servicerelease.json
+++ b/src/assets/locales/de/servicerelease.json
@@ -190,7 +190,7 @@
"activation": {
"title": "Service Subscription Activated",
"subtitle": "for ",
- "successDescription": "The service is now activated and is now located in your active contract management",
+ "successDescription": "The service is now activated and technical user was successfully created.
Please find the necessary user details below.",
"successDescriptionWithTechUser": "The service is now activated and technical user was successfully created.
Please find the necessary user details below.",
"tableheader": "Technical User Details:",
"userId": "Client ID Tech User:",
diff --git a/src/assets/locales/en/servicerelease.json b/src/assets/locales/en/servicerelease.json
index b2077b22d..e9336bd61 100644
--- a/src/assets/locales/en/servicerelease.json
+++ b/src/assets/locales/en/servicerelease.json
@@ -190,7 +190,7 @@
"activation": {
"title": "Service Subscription Activated",
"subtitle": "for ",
- "successDescription": "The service is now activated and is now located in your active contract management",
+ "successDescription": "The service is now activated and technical user was successfully created.
Please find the necessary user details below.",
"successDescriptionWithTechUser": "The service is now activated and technical user was successfully created.
Please find the necessary user details below.",
"tableheader": "Technical User Details:",
"userId": "Client ID Tech User:",
diff --git a/src/components/overlays/ActivateServiceSubscription/index.tsx b/src/components/overlays/ActivateServiceSubscription/index.tsx
index 3cc6bfad9..fccb08344 100644
--- a/src/components/overlays/ActivateServiceSubscription/index.tsx
+++ b/src/components/overlays/ActivateServiceSubscription/index.tsx
@@ -24,6 +24,8 @@ import {
DialogContent,
DialogHeader,
LoadingButton,
+ StaticTable,
+ type TableType,
Typography,
} from '@catena-x/portal-shared-components'
import { Trans, useTranslation } from 'react-i18next'
@@ -38,7 +40,6 @@ import {
useFetchServiceTechnicalUserProfilesQuery,
} from 'features/serviceManagement/apiSlice'
import { Link } from 'react-router-dom'
-import { KeyValueView } from 'components/shared/basic/KeyValueView'
const ProfileHelpURL =
'/documentation/?path=docs%2F05.+Service%28s%29%2F03.+Service+Subscription%2F01.+Service+Subscription.md'
@@ -90,27 +91,47 @@ export default function ActivateserviceSubscription({
}
}
- const activationData = [
- {
- key: t('serviceSubscription.activation.userId'),
- value: techUserInfo?.technicalUserInfo.technicalClientId ?? '',
- },
- {
- key: t('serviceSubscription.activation.sercret'),
- value: techUserInfo?.technicalUserInfo.technicalUserSecret ?? '',
- copy: true,
- },
- {
- key: t('serviceSubscription.activation.url'),
- value: techUserInfo?.clientInfo?.clientUrl ?? 'n/a',
- },
- {
- key: t('serviceSubscription.activation.technicaluserType'),
- value:
+ const tableData: TableType = {
+ head: [t('serviceSubscription.activation.tableheader'), ''],
+ body: [
+ [
+ t('serviceSubscription.activation.userId'),
+ techUserInfo?.technicalUserInfo.technicalClientId ?? '',
+ ],
+ [
+ t('serviceSubscription.activation.sercret'),
+ techUserInfo?.technicalUserInfo.technicalUserSecret ?? '',
+ ],
+ [
+ t('serviceSubscription.activation.url'),
+ techUserInfo?.clientInfo?.clientUrl ?? 'n/a',
+ ],
+ [
+ t('serviceSubscription.activation.technicaluserType'),
techUserInfo?.technicalUserInfo.technicalUserPermissions.join(', ') ??
- '',
- },
- ]
+ '',
+ ],
+ ],
+ edit: [
+ [
+ {
+ icon: false,
+ },
+ {
+ icon: false,
+ },
+ ],
+ [
+ {
+ icon: false,
+ },
+ {
+ icon: false,
+ copyValue: techUserInfo?.technicalUserInfo.technicalUserSecret,
+ },
+ ],
+ ],
+ }
return (