better wallet info

This commit is contained in:
Matias Alejo Garcia 2015-11-07 11:40:35 -03:00
commit ce197d4b29
4 changed files with 25 additions and 5 deletions

View file

@ -1,9 +1,8 @@
<span ng-show="index.isShared"><span translate>{{index.m}}-of-{{index.n}}</span></span>
<img style="height:1em" ng-show="index.isShared" src="img/icon-users.svg">
<img style="height:1em" ng-show="index.network != 'livenet'" src="img/icon-testnet.svg">
<img style="height:1em" ng-show="!index.canSign && !index.isPrivKeyExternal" src="img/icon-view.svg">
<img style="height:1em" ng-show="index.isPrivKeyEncrypted" src="img/icon-lock.svg">
<img style="height:1em" ng-show="index.externalSource == 'trezor'" src="img/icon-trezor.svg">
<span style="height:1em" ng-show="index.account"><span translate>Account</span>: #{{index.account || 0}} </span>
<span style="height:1em" ng-show="index.account">#{{index.account || 0}} </span>

View file

@ -55,6 +55,29 @@
</span>
</li>
<li class="line-b p20 oh" ng-show="index.externalSource">
<span translate>Hardware Wallet</span>
<span class="right text-gray capitalize">
{{index.externalSource}}
</span>
</li>
<li class="line-b p20 oh" ng-show="!index.externalSource && !index.canSign">
<span translate></span>
<span class="right text-gray capitalize">
No private key
</span>
</li>
<li class="line-b p20 oh" ng-show="index.account">
<span translate>Account ({{derivationStrategy}})</span>
<span class="right text-gray">
#{{index.account}}
</span>
</li>
<h4 class="title m0" translate>Copayers</h4>
<li ng-repeat="copayer in index.copayers">
<span class="size-12" ng-show="copayer.id == index.copayerId">