[fix] order.html rate display

This commit is contained in:
Saurabh 2015-10-14 13:40:45 +05:30
parent c4d4c7feb0
commit 9f235b891f

View File

@ -53,8 +53,10 @@
</div>
<div class="col-sm-2 col-xs-3 text-right">
{{ d.get_formatted("amount") }}
<!-- output of get_formatted("rate") is unicode, to replace unicode use
_("text {0}").decode("utf8").format(val) -->
<p class="text-muted small">{{
_("Rate: {0}").format(d.get_formatted("rate")) }}</p>
_("Rate: {0}").decode("utf8").format(d.get_formatted("rate")) }}</p>
</div>
</div>
{% endfor %}