Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit a959464

Browse files
author
rhcastilhos
committed
Decimal mark fixes
Fixes part of #1551
1 parent 5769f4e commit a959464

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

js/templates/transactionModal.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -817,18 +817,18 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
817817
<% if( ob.displayModerator) { %>
818818
<%= polyglot.t('transactions.ModeratedTransaction') %>
819819
<% if(ob.displayTotalPrice){ %>
820-
<strong><span class="noWrap"><%= ob.buyer_order.order.payment.amount %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
820+
<strong><span class="noWrap"><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
821821
<% } else if(ob.buyer_order.order.payment.amount){ %>
822-
<strong><%= ob.buyer_order.order.payment.amount %> BTC</strong>
822+
<strong><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</strong>
823823
<% } else { %>
824824
<strong><%= polyglot.t('Free') %></strong>
825825
<% } %>
826826
<% } else { %>
827827
<%= polyglot.t('transactions.DirectTransaction') %>
828828
<% if(ob.displayTotalPrice){ %>
829-
<strong><span class="noWrap"><%= ob.buyer_order.order.payment.amount %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
829+
<strong><span class="noWrap"><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
830830
<% } else if(ob.buyer_order.order.payment.amount){ %>
831-
<strong><%= ob.buyer_order.order.payment.amount %> BTC</strong>
831+
<strong><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</strong>
832832
<% } else { %>
833833
<strong><%= polyglot.t('Free') %></strong>
834834
<% } %>
@@ -885,9 +885,9 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
885885
</div>
886886
<div class="fontSize13 noOverflow textOpacity75">
887887
<% if(ob.displayTotalPrice){ %>
888-
<strong>+<span class="noWrap"><%= ob.buyer_order.order.payment.amount %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
888+
<strong>+<span class="noWrap"><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
889889
<% } else if(ob.buyer_order.order.payment.amount){ %>
890-
<strong>+<%= ob.buyer_order.order.payment.amount %> BTC</strong>
890+
<strong>+<%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</strong>
891891
<% } else { %>
892892
<strong><%= polyglot.t('Free') %></strong>
893893
<% } %>
@@ -919,9 +919,9 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
919919
</div>
920920
<div class="fontSize13 noOverflow textOpacity75">
921921
<% if(ob.displayTotalPrice){ %>
922-
<strong>-<span class="noWrap"><%= ob.buyer_order.order.payment.amount %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
922+
<strong>-<span class="noWrap"><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
923923
<% } else if(ob.buyer_order.order.payment.amount){ %>
924-
<strong>-<%= ob.buyer_order.order.payment.amount %> BTC</strong>
924+
<strong>-<%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</strong>
925925
<% } else { %>
926926
<strong><%= polyglot.t('Free') %></strong>
927927
<% } %>

0 commit comments

Comments
 (0)