Merge pull request #5189 from cmgustavo/feat/adds-exchange-rates

Adds exchange rates during the top-up of the BitPay card
This commit is contained in:
Gabriel Edgardo Bazán 2016-12-12 14:42:37 -03:00 committed by GitHub
commit 142c8415a4
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>