Align start and end tags

pull/21833/head
J. Ryan Stinnett 2019-11-01 16:35:16 +00:00
parent 0fc5108817
commit 0c82d9e7e0
1 changed files with 15 additions and 13 deletions

View File

@ -146,11 +146,12 @@ export default class IdentityAuthClient {
const { finished } = Modal.createTrackedDialog('Default identity server terms warning', '', const { finished } = Modal.createTrackedDialog('Default identity server terms warning', '',
QuestionDialog, { QuestionDialog, {
title: _t("Identity server has no terms of service"), title: _t("Identity server has no terms of service"),
description: <div> description: (
<div>
<p>{_t( <p>{_t(
"This action requires accessing the default identity server " + "This action requires accessing the default identity server " +
"<server /> to validate an email address or phone number, but the server " + "<server /> to validate an email address or phone number, " +
"does not have any terms of service.", {}, "but the server does not have any terms of service.", {},
{ {
server: () => <b>{abbreviateUrl(identityServerUrl)}</b>, server: () => <b>{abbreviateUrl(identityServerUrl)}</b>,
}, },
@ -158,7 +159,8 @@ export default class IdentityAuthClient {
<p>{_t( <p>{_t(
"Only continue if you trust the owner of the server.", "Only continue if you trust the owner of the server.",
)}</p> )}</p>
</div>, </div>
),
button: _t("Trust"), button: _t("Trust"),
}); });
const [confirmed] = await finished; const [confirmed] = await finished;