better message for "no enough funds"
This commit is contained in:
parent
fce9c2357f
commit
1af5d6dd5f
2 changed files with 26 additions and 9 deletions
|
|
@ -45,13 +45,19 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center" ng-show="notAvailable">
|
||||
<span class="badge badge-assertive" translate>No wallet with enough funds</span>
|
||||
<div class="text-center" ng-show="noMatchingWallet">
|
||||
<span class="badge badge-assertive" translate>No appropiate wallet to make this payment</span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="text-center" ng-show="insuffientFunds">
|
||||
<span class="badge badge-assertive" translate>Insufficient funds</span>
|
||||
</div>
|
||||
|
||||
<wallets ng-if="wallets[0]" wallets="wallets"></wallets>
|
||||
|
||||
<div class="list card">
|
||||
<div ng-show="wallets[0]" class="list card">
|
||||
<div class="item item-icon-left item-icon-right" ng-click="showDescriptionPopup()">
|
||||
<i class="icon ion-ios-chatbubble-outline size-21"></i>
|
||||
<span ng-show="!description" translate>Add description</span>
|
||||
|
|
@ -59,7 +65,7 @@
|
|||
<i ng-show="!description" class="icon ion-ios-plus-empty size-21"></i>
|
||||
</div>
|
||||
</div>
|
||||
<button class="button button-block button-positive" ng-click="approve()" ng-if="!isCordova" translate>Click to pay</button>
|
||||
<button ng-show="wallets[0]" class="button button-block button-positive" ng-click="approve()" ng-if="!isCordova" translate>Click to pay</button>
|
||||
</ion-content>
|
||||
<accept class="accept-slide" ng-if="isCordova"></accept>
|
||||
</ion-view>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue