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,12 +11,14 @@
</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>
<span ng-if="$root.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span> <div ng-if="$root.wallet.isReady()">
<div ng-if="$root.wallet && !$root.updatingBalance" data-options="disable_for_touch:true"> <span ng-if="$root.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
<b class="m5r">{{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}}</b> <div ng-if="$root.wallet && !$root.updatingBalance" data-options="disable_for_touch:true">
<span ng-if="alternativeBalanceAvailable" class="alt-currency">{{totalBalanceAlternative |noFractionNumber:2}} {{alternativeIsoCode}}</span> <b class="m5r">{{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}}</b>
<span ng-if="!alternativeBalanceAvailable" class="alt-currency">N/A</span> <span ng-if="alternativeBalanceAvailable" class="alt-currency">{{totalBalanceAlternative |noFractionNumber:2}} {{alternativeIsoCode}}</span>
<span ng-if="!alternativeBalanceAvailable" class="alt-currency">N/A</span>
</div>
</div> </div>
</div> </div>
</div> </div>