fixes sidebar: if wallet is not complete, show: waiting for copayers

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-07 16:02:10 -03:00
commit cea1a1175b

View file

@ -11,7 +11,8 @@
</div> </div>
</div> </div>
<div class="founds size-12"> <div class="founds size-12">
<!-- {{'Balance'|translate}} --> <span ng-if="!$root.wallet.isReady()">Waiting for copayers...</span>
<div ng-if="$root.wallet.isReady()">
<span ng-if="$root.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span> <span ng-if="$root.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
<div ng-if="$root.wallet && !$root.updatingBalance" data-options="disable_for_touch:true"> <div ng-if="$root.wallet && !$root.updatingBalance" data-options="disable_for_touch:true">
<b class="m5r">{{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}}</b> <b class="m5r">{{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}}</b>
@ -20,6 +21,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="col3" ng-if="wallets.0"> <div class="col3" ng-if="wallets.0">
<a ng-class="{'selected':walletSelection}" <a ng-class="{'selected':walletSelection}"
ng-click="toggleWalletSelection()"> ng-click="toggleWalletSelection()">