From 42190df0405b5ed0202530ed25face02d079e52d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 7 Dec 2020 16:19:59 +0100 Subject: [PATCH] improve privacy dialog consent --- src/open/ServerConsentView.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/open/ServerConsentView.js b/src/open/ServerConsentView.js index d0461bb..2acc1e7 100644 --- a/src/open/ServerConsentView.js +++ b/src/open/ServerConsentView.js @@ -29,18 +29,19 @@ export class ServerConsentView extends TemplateView { }, "continue without a preview"); return t.div({className: "ServerConsentView"}, [ t.p([ - "View this link using ", + "Preview this link using the ", t.strong(vm => vm.selectedServer || "…"), + " homeserver ", t.span({className: {hidden: vm => !vm.selectedServer}}, [ " (", t.a({ href: vm => `#/policy/${vm.selectedServer}`, target: "_blank", }, "privacy policy"), - ") ", + ")", ]), t.span({className: {hidden: vm => vm.showSelectServer}}, [ - " to preview content, or your can ", + ", ", useAnotherServer, ]), " or ",