Skip to content

Commit 835f95a

Browse files
Mattia Franchettomtfranchetto
Mattia Franchetto
authored andcommitted
Fix multi user panel copy
1 parent 47f2061 commit 835f95a

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

frontend/locales/en/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
"multiUser": {
508508
"title": "Multiple user management properties",
509509
"description": "Configure Active Directory access settings for multiple users on a cluster.",
510-
"help": "<p>Configure access to your Active Directory by using LDAP.</p><p>Use your existing Active Directory or create one by using the quick create method in the tutorial in <strong>Learn more</strong>.</p><p>Choose <strong>Refresh</strong> to view recently changed or added AWS resources.</p>",
510+
"help": "<p>Configure access to your Active Directory by using LDAP.</p><p>Use your existing Active Directory or create one by using the quick create method described in the <0>$t(wizard.cluster.multiUser.adLink.title)</0>.</p><p>Choose <strong>Refresh</strong> to view recently changed or added AWS resources.</p>",
511511
"multiUserAccessLink": {
512512
"title": "Multiple user access to clusters",
513513
"href": "https://docs.aws.amazon.com/parallelcluster/latest/ug/multi-user-v3.html?icmpid=docs_parallelcluster_hp_multi_user_v1"

frontend/src/old-pages/Configure/MultiUser.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
Input,
2323
SpaceBetween,
2424
CheckboxProps,
25+
Link,
2526
} from '@cloudscape-design/components'
2627

2728
// State
@@ -304,10 +305,6 @@ export const MultiUserHelpPanel = () => {
304305
title: t('wizard.cluster.multiUser.multiUserAccessLink.title'),
305306
href: t('wizard.cluster.multiUser.multiUserAccessLink.href'),
306307
},
307-
{
308-
title: t('wizard.cluster.multiUser.adLink.title'),
309-
href: t('wizard.cluster.multiUser.adLink.href'),
310-
},
311308
{
312309
title: t('wizard.cluster.multiUser.directoryServiceLink.title'),
313310
href: t('wizard.cluster.multiUser.directoryServiceLink.href'),
@@ -318,7 +315,15 @@ export const MultiUserHelpPanel = () => {
318315
return (
319316
<TitleDescriptionHelpPanel
320317
title={t('wizard.cluster.multiUser.title')}
321-
description={<Trans i18nKey="wizard.cluster.multiUser.help" />}
318+
description={
319+
<Trans i18nKey="wizard.cluster.multiUser.help">
320+
<Link
321+
external
322+
externalIconAriaLabel={t('global.openNewTab')}
323+
href={t('wizard.cluster.multiUser.adLink.href')}
324+
/>
325+
</Trans>
326+
}
322327
footerLinks={footerLinks}
323328
/>
324329
)

0 commit comments

Comments
 (0)