Aligned USD value under Poa in Transaction Overview

pull/201/head
katibest 7 years ago committed by Tim Mecklem
parent 806647c99e
commit 2e92a4b4b9
  1. 3
      apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex
  2. 2
      apps/explorer_web/lib/explorer_web/views/transaction_view.ex

@ -43,7 +43,8 @@
<%= gettext "Value" %>
</th>
<td>
<%= value(@transaction) %> <%= format_usd(@transaction, @exchange_rate) %>
<div><%= value(@transaction) %> </div>
<div><%= format_usd(@transaction, @exchange_rate) %></div>
</td>
</tr>
<tr>

@ -112,7 +112,7 @@ defmodule ExplorerWeb.TransactionView do
ether <- Wei.to(wei, :ether),
usd <- Decimal.mult(ether, usd_value) do
currency = gettext("USD")
"($#{usd} #{currency})"
"$#{usd} #{currency}"
else
_ -> nil
end

Loading…
Cancel
Save