Adds filters to every fiat values

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-10 16:19:07 -03:00
commit 1f975dc283
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 50 additions and 46 deletions

View file

@ -1,15 +1,16 @@
<div class="m20tp text-center">
<div class="row">
<h1 class="text-center m20b" translate>Revoke Glidera Token</h1>
<div class="large-6 medium-6 small-6 columns">
<button class="button warning expand round" ng-click="ok()">
<i class="fi-trash"></i> <span translate>Yes</span>
</button>
</div>
<div class="large-6 medium-6 small-6 columns">
<button class="button light-gray expand outline round" ng-click="cancel()">
<i class="fi-x"></i> <span class="tu" translate>Cancel</span>
</button>
</div>
<h1 class="text-center m20b" translate>Are you sure you would like to log out of your Glidera account?</h1>
<p class="text-gray" translate>You will need to log back in to buy or sell bitcoin in Copay.</p>
<div class="large-6 medium-6 small-6 columns">
<button class="button light-gray expand outline round" ng-click="cancel()">
<i class="fi-arrow-left"></i> <span class="tu" translate>Back</span>
</button>
</div>
<div class="large-6 medium-6 small-6 columns">
<button class="button warning expand round" ng-click="ok()">
<span translate>Log out</span>
</button>
</div>
</div>
</div>

View file

@ -18,7 +18,7 @@
ng-style="{'background-color':color}" translate>Bought</span>
<span class="label tu gray radius" ng-show="tx.type == 'SELL'" translate>Sold</span>
<div class="size-42">
{{tx.subtotal}} {{tx.currency}}
{{tx.subtotal|currency:'':2}} {{tx.currency}}
</div>
<div class="size-12 text-gray">
<span class="text-success" ng-if="tx.status == 'COMPLETE'">Completed</span>
@ -32,28 +32,30 @@
<ul class="no-bullet size-14 m0">
<li ng-show="tx.transactionDate" class="line-b p10 oh">
<span class="text-gray" translate>Date</span>:
<span class="text-gray" translate>Date</span>
<span class="right">{{tx.transactionDate | amCalendar}}</span>
</li>
<li ng-show="tx.price" class="line-b p10 oh">
<span class="text-gray" translate>Price</span>:
<span class="right">${{tx.price}} {{tx.currency}}</span>
<span class="text-gray" translate>Exchange rate</span>
<span class="right">{{tx.price|currency:'':2}} {{tx.currency}}/BTC</span>
</li>
</ul>
<h4 class="title m0">&nbsp;</h4>
<ul class="no-bullet size-14 m0">
<li ng-show="tx.subtotal" class="line-b p10 oh">
<span class="text-gray" translate>Subtotal</span>:
<span class="right">${{tx.subtotal}} {{tx.currency}}</span>
<span class="text-gray" translate>Subtotal</span>
<span class="right">{{tx.subtotal|currency:'':2}} {{tx.currency}}</span>
</li>
<li ng-show="tx.fees" class="line-b p10 oh">
<span class="text-gray" translate>Fees</span>:
<span class="right">${{tx.fees}} {{tx.currency}}</span>
<span class="text-gray" translate>Fees</span>
<span class="right">{{tx.fees|currency:'':2}} {{tx.currency}}</span>
</li>
<li ng-show="tx.total" class="line-b p10 oh">
<span class="text-gray" translate>Total</span>:
<span class="right">${{tx.total}} {{tx.currency}}</span>
<li ng-show="tx.total" class="line-b p10 oh text-bold">
<span class="text-gray" translate>Total</span>
<span class="right">{{tx.total|currency:'':2}} {{tx.currency}}</span>
</li>
</ul>
<div class="extra-margin-bottom"></div>