Skip to content

Commit 576623c

Browse files
committed
Account management section design changes
Design matches matrix-org/matrix-react-sdk#8681
1 parent 64fe60e commit 576623c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/platform/web/ui/session/settings/SettingsView.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ export class SettingsView extends TemplateView {
5050

5151
settingNodes.push(
5252
t.if(vm => vm.accountManagementUrl, t => {
53-
return t.p([vm.i18n`You can manage your account `, t.a({href: vm.accountManagementUrl, target: "_blank"}, vm.i18n`here`), "."]);
53+
const url = new URL(vm.accountManagementUrl);
54+
return t.div([
55+
t.h3("Account"),
56+
t.p([vm.i18n`Your account details are managed separately at `, t.code(url.hostname), "."]),
57+
t.button({ onClick: () => window.open(vm.accountManagementUrl, '_blank') }, vm.i18n`Manage account`),
58+
]);
5459
}),
5560
);
5661

0 commit comments

Comments
 (0)