better error when importing a wrong mnemonic

This commit is contained in:
Matias Alejo Garcia 2016-06-07 16:16:38 -03:00
commit a130a3e19b
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
2 changed files with 19 additions and 4 deletions

View file

@ -34,9 +34,17 @@
<div ng-show="type == '12' ">
<div class="box-notification m20b" ng-show="import.error">
<span class="text-warning">
{{import.error|translate}}
</span>
<div ng-show="import.importErr" class="text-warning">
<div >
</div>
<div class="m10 text-bold" translate>Could not access the wallet at the server. Please check:</div>
<div class="p25l" translate> The password of the recovery phrase (if set) </div>
<div class="p25l" translate> The derivation path</div>
<div class="p25l" translate> The wallet service URL </div>
<div class="p25l" translate> NOTE: To import a wallet from a 3rd party software, please go to Add Wallet &gt; Create Wallet, and specify the seed there.</div>
<div class="text-right"> <span translate>Error</span>: {{import.error|translate}}</div>
</div>
</div>
<div class="row large-12 columns">
<form name="importForm12" ng-submit="import.importMnemonic(importForm12)" novalidate>