Skip to content

Commit 97b8861

Browse files
committed
Account management section design changes
Design matches matrix-org/matrix-react-sdk#8681
1 parent 7b7557a commit 97b8861

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

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

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

0 commit comments

Comments
 (0)