balances working

This commit is contained in:
Matias Alejo Garcia 2016-08-15 10:25:43 -03:00
commit 9f039d8c34
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
9 changed files with 656 additions and 271 deletions

View file

@ -1,19 +1,25 @@
<ion-view view-title="Home">
<ion-content class="padding home" ng-controller="tabHomeController">
<a href="#/add"><i class="ion-ios-plus-outline right"></i></a>
<h2>Wallets </h2>
<a href="#/add">+</a>
<div class="list card">
<ul class="pr">
<li ng-show="wallets[0]"
ng-repeat="item in wallets track by $index" class="item item-icon-left"
menu-toggle href ui-sref="walletHome" on-tap="openWallet(item.id, index.walletId)">
menu-toggle href ui-sref="walletDetails({'walletId': item.id})">
<i class="icon icon-wallet size-21" ng-style="{'color':item.color}"></i>
{{item.name || item.id}}
<span class="item-note" ng-show="item.n > 1">
{{item.m}}-of-{{item.n}}
<span ng-show="item.n > 1">
[ {{item.m}}-of-{{item.n}} ]
</span>
<span class="item-note">
{{item.availableBalanceStr}}
</span>
</li>
</ul>
</div>