From a1d391c988b39c856971574a11171ba29f7caee3 Mon Sep 17 00:00:00 2001 From: Tim Mecklem Date: Fri, 1 Jun 2018 13:47:40 -0400 Subject: [PATCH] Move USD values to separate row with label --- .../templates/address/overview.html.eex | 4 ++-- .../templates/transaction/overview.html.eex | 18 ++++++++++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/address/overview.html.eex b/apps/explorer_web/lib/explorer_web/templates/address/overview.html.eex index bd49f9e403..855bd93194 100644 --- a/apps/explorer_web/lib/explorer_web/templates/address/overview.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/address/overview.html.eex @@ -21,7 +21,7 @@ - <%= gettext "POA Balance" %> + <%= gettext "Ether" %> <%= gettext "Balance" %> <%= balance(@address) %> @@ -29,7 +29,7 @@ - <%= gettext "USD Balance" %> + <%= gettext "USD" %> <%= gettext "Balance" %> <%= formatted_usd(@address, @exchange_rate) %> diff --git a/apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex b/apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex index 5fb6c1b6ec..5ce3f3a3e2 100644 --- a/apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex @@ -54,10 +54,17 @@ - <%= gettext "Value" %> + <%= gettext "Ether" %> <%= gettext "Value" %>
<%= value(@transaction) %>
+ + + + + <%= gettext "USD" %> <%= gettext "Value" %> + +
<%= formatted_usd_value(@transaction, @exchange_rate) %>
@@ -144,10 +151,17 @@ - <%= gettext "TX Fee" %> + <%= gettext "Ether" %> <%= gettext "TX Fee" %>
<%= formatted_fee(@transaction, denomination: :ether) %>
+ + + + + <%= gettext "USD" %> <%= gettext "TX Fee" %> + +
<%= formatted_fee(@transaction, exchange_rate: @exchange_rate) %>