fix indenting

This commit is contained in:
Matthew Hodgson 2018-01-15 02:19:15 +00:00
parent a233af67ea
commit 24fcea8a0a

View file

@ -44,33 +44,33 @@ export default React.createClass({
onFinished={this.props.onFinished} onFinished={this.props.onFinished}
title={_t('Restore encryption keys')} title={_t('Restore encryption keys')}
> >
<div> <div>
<p>We don't have a way to decrypt older messages on this device.</p> <p>We don't have a way to decrypt older messages on this device.</p>
<p>Your options are:</p> <p>Your options are:</p>
<li> <li>
{ !this.props.isOnlyDevice ? <ul>Verify this device from one or more of your other ones to automatically sync keys</ul>: '' } { !this.props.isOnlyDevice ? <ul>Verify this device from one or more of your other ones to automatically sync keys</ul>: '' }
{ this.props.hasOnlineBackup ? <ul>Enter your recovery key to restore encryption keys from your online backup</ul> : '' } { this.props.hasOnlineBackup ? <ul>Enter your recovery key to restore encryption keys from your online backup</ul> : '' }
<ul>Import encryption keys from an offline backup</ul> <ul>Import encryption keys from an offline backup</ul>
<ul>Continue without restoring keys, syncing keys from your other devices on a best effort basis</ul> <ul>Continue without restoring keys, syncing keys from your other devices on a best effort basis</ul>
</li> </li>
<div className="mx_Dialog_buttons"> <div className="mx_Dialog_buttons">
<button onClick={this.props.onVerifyDevice}> <button onClick={this.props.onVerifyDevice}>
{ _t('Verify this device') } { _t('Verify this device') }
</button> </button>
<button onClick={this.props.onRecoverFromBackup}> <button onClick={this.props.onRecoverFromBackup}>
{ _t('Restore from online backup') } { _t('Restore from online backup') }
</button> </button>
<button onClick={this.props.onImportBackup}> <button onClick={this.props.onImportBackup}>
{ _t('Restore from offline backup') } { _t('Restore from offline backup') }
</button> </button>
<button onClick={this.props.onIgnoreClicked}> <button onClick={this.props.onIgnoreClicked}>
{ _t('Ignore request') } { _t('Ignore request') }
</button> </button>
</div>
</div> </div>
</div>
</BaseDialog> </BaseDialog>
); );
}, },