improve privacy dialog consent

This commit is contained in:
Bruno Windels 2020-12-07 16:19:59 +01:00
parent ca601d0e73
commit 42190df040

View file

@ -29,18 +29,19 @@ export class ServerConsentView extends TemplateView {
}, "continue without a preview"); }, "continue without a preview");
return t.div({className: "ServerConsentView"}, [ return t.div({className: "ServerConsentView"}, [
t.p([ t.p([
"View this link using ", "Preview this link using the ",
t.strong(vm => vm.selectedServer || "…"), t.strong(vm => vm.selectedServer || "…"),
" homeserver ",
t.span({className: {hidden: vm => !vm.selectedServer}}, [ t.span({className: {hidden: vm => !vm.selectedServer}}, [
" (", " (",
t.a({ t.a({
href: vm => `#/policy/${vm.selectedServer}`, href: vm => `#/policy/${vm.selectedServer}`,
target: "_blank", target: "_blank",
}, "privacy policy"), }, "privacy policy"),
") ", ")",
]), ]),
t.span({className: {hidden: vm => vm.showSelectServer}}, [ t.span({className: {hidden: vm => vm.showSelectServer}}, [
" to preview content, or your can ", ", ",
useAnotherServer, useAnotherServer,
]), ]),
" or ", " or ",