Adds exchange rates during the top-up of the BitPay card

This commit is contained in:
Gustavo Maximiliano Cortez 2016-12-08 16:35:25 -03:00
commit 938862bfe8
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 43 additions and 1 deletions

View file

@ -42,6 +42,7 @@
<div class="title">
<span translate>Amount</span>
<div class="size-12" ng-show="isGiftCard">Purchase Amount is limited to USD 1000 per day</div>
<div class="size-12" ng-if="cardId" ng-init="getRates()">{{exchangeRate}}</div>
<div ng-show="isGlidera">
<div class="limits" ng-show="limits && isGlidera == 'buy'">
<span>Daily buy limit</span>:

View file

@ -19,6 +19,7 @@
</div>
<div class="amount-label">
<div class="amount">{{displayAmount || '...'}} <span class="unit">{{displayUnit}}</span></div>
<div class="right size-12" ng-if="cardId" ng-init="getRates()">{{exchangeRate}}</div>
<div class="alternative">{{alternativeAmountStr || '...'}}</div>
</div>
</div>