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,8 +29,9 @@ 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({
@ -40,7 +41,7 @@ export class ServerConsentView extends TemplateView {
")", ")",
]), ]),
t.span({className: {hidden: vm => vm.showSelectServer}}, [ t.span({className: {hidden: vm => vm.showSelectServer}}, [
" to preview content, or your can ", ", ",
useAnotherServer, useAnotherServer,
]), ]),
" or ", " or ",