Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2476 from vhpoet/release
Browse files Browse the repository at this point in the history
[FIX] Trade: Show right numbers in trade confirmation
  • Loading branch information
vhpoet committed Apr 30, 2015
2 parents 015e4c4 + 26dcdee commit 5de3c34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/tabs/trade.jade
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ section.col-xs-12.content(ng-controller="TradeCtrl")
label(l10n) Order Value (max)
.input-group
input.form-control(name='value', type='text'
ng-model='order[type].price', ng-change='calc_first(type)'
ng-model='order[type].second', ng-change='calc_first(type)'
rp-autofill='$routeParams.type == type && $routeParams.max'
rp-autofill-amount
rp-amount
Expand Down Expand Up @@ -337,7 +337,7 @@ section.col-xs-12.content(ng-controller="TradeCtrl")
.dest_feedback
label(l10n) Price of each
div.each-price
span.value {{order[type].price}} 
span.value {{order[type].price}} 
sub
span.currency {{order.currency_pair}}
//- span.currency {{order[type].second_amount | rpcurrency}} /
Expand All @@ -353,7 +353,7 @@ section.col-xs-12.content(ng-controller="TradeCtrl")
.rate_feedback
label(l10n) Order Value (max)
div.max-value
span.rate {{order[type].price }}
span.rate {{order[type].second_amount | rpamount: {abs_precision: 6} }}
sub.pair {{order[type].second_amount | rpcurrency}} per {{order[type].first_amount | rpcurrency}}
p.literal.confirm-text(l10n-inc) Are you sure?
.row.row-padding-small
Expand Down

0 comments on commit 5de3c34

Please sign in to comment.