"has no funds" case

This commit is contained in:
Sebastiaan Pasma 2018-07-23 14:20:46 +02:00
commit 893dbe5c6f
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
4 changed files with 103 additions and 21 deletions

View file

@ -3,13 +3,15 @@
<ion-nav-title>{{'Wallet to wallet transfer' | translate}}</ion-nav-title>
</ion-nav-bar>
<ion-content>
<div class="header">
<div class="header--request" ng-if="isPaymentRequest">
<div class="header--request__title" translate>Paying</div>
<div class="header--request__amount" translate>$37.42 USD</div>
<div class="header--request__amount-alt" translate>0.04580000 BCH</div>
</div>
<div class="wallets-header">
<div class="title">
{{headerTitle}}
</div>
<div class="subtitle">
{{headerSubtitle}}
</div>
</div>
<div class="list card">
<div class="item item-icon-right item-heading">
@ -25,7 +27,7 @@
</div>
</div>
<div class="list card">
<div class="list card" ng-if="walletsBtc.length > 0">
<div class="item item-icon-right item-heading">
<div translate>Bitcoin Core (BTC)</div>
</div>
@ -37,5 +39,17 @@
</a>
</div>
</div>
<div class="list card card-insufficient" ng-if="walletsEmpty.length > 0">
<div class="item item-icon-right item-heading">
<span class="card-insufficient__dot"></span><div translate>Insufficient funds</div>
</div>
<div>
<a ng-repeat="wallet in walletsEmpty track by $index"
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet">
<span ng-include="'views/includes/walletList.html'"></span>
</a>
</div>
</div>
</ion-content>
</ion-view>