Skip to content

Commit

Permalink
Updates text in onboarding token modal
Browse files Browse the repository at this point in the history
Signed-off-by: Bipul Adhikari <[email protected]>
  • Loading branch information
bipuladh committed Jan 30, 2024
1 parent eb105ef commit 1174596
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
3 changes: 3 additions & 0 deletions locales/en/plugin__odf-console.json
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,9 @@
"Data Foundation version sync": "Data Foundation version sync",
"Client onboarding token": "Client onboarding token",
"Copy to clipboard": "Copy to clipboard",
"How to use this token?": "How to use this token?",
"To onboard the client cluster, the provider cluster requires the onboarding token.": "To onboard the client cluster, the provider cluster requires the onboarding token.",
"An onboarding token is needed to connect an additional OpenShift cluster to a Data Foundation deployment.": "An onboarding token is needed to connect an additional OpenShift cluster to a Data Foundation deployment.",
"Raw Capacity": "Raw Capacity",
"Add Capacity": "Add Capacity",
"Cluster details": "Cluster details",
Expand Down
16 changes: 11 additions & 5 deletions packages/odf/components/storage-consumers/onboarding-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,18 @@ export const ClientOnBoardingModal: ClientOnBoardingModalProps = ({
</Button>
</FlexItem>
<FlexItem>
<Text component={TextVariants.h6}>How to use this token?</Text>
<Text>Short explanation</Text>
</FlexItem>
<FlexItem>
<Text component={TextVariants.h6}>
{t('How to use this token?')}
</Text>
<Text>
{t(
'To onboard the client cluster, the provider cluster requires the onboarding token.'
)}
</Text>
<Text>
This token is valid for 48 hours and can only be used once
{t(
'An onboarding token is needed to connect an additional OpenShift cluster to a Data Foundation deployment.'
)}
</Text>
</FlexItem>
</Flex>
Expand Down

0 comments on commit 1174596

Please sign in to comment.