diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/_balance_card.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/_balance_card.html.eex index 8d0d67c6fe..8da0cc370a 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/_balance_card.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/_balance_card.html.eex @@ -4,24 +4,13 @@

<%= balance(@address) %>

- -
- <%= gettext("Price") %> - + -
- -
- <%= gettext("Unit Price") %> - - -
+ data-usd-exchange-rate="<%= @exchange_rate.usd_value %>"> + + (@ <%= @exchange_rate.usd_value %>/<%= gettext("Ether") %>) +
diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 008c3645da..c634ffcb5b 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -387,7 +387,7 @@ msgid "Enter the Solidity Contract Code below" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:36 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:25 msgid "Error trying to fetch balances." msgstr "" @@ -402,6 +402,7 @@ msgid "Error: (Awaiting internal transactions for reason)" msgstr "" #, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:12 #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:16 #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:19 #: lib/block_scout_web/templates/transaction/_tile.html.eex:26 @@ -421,7 +422,7 @@ msgid "Execute" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:21 msgid "Fetching tokens..." msgstr "" @@ -699,7 +700,6 @@ msgid "Position %{index}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:9 #: lib/block_scout_web/templates/chain/show.html.eex:11 #: lib/block_scout_web/templates/layout/app.html.eex:50 msgid "Price" @@ -1323,8 +1323,3 @@ msgstr "" #: lib/block_scout_web/views/internal_transaction_view.ex:24 msgid "Static Call" msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:18 -msgid "Unit Price" -msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 3fc1c151cc..b8f82addb3 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -387,7 +387,7 @@ msgid "Enter the Solidity Contract Code below" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:36 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:25 msgid "Error trying to fetch balances." msgstr "" @@ -402,6 +402,7 @@ msgid "Error: (Awaiting internal transactions for reason)" msgstr "" #, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:12 #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:16 #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:19 #: lib/block_scout_web/templates/transaction/_tile.html.eex:26 @@ -421,7 +422,7 @@ msgid "Execute" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 +#: lib/block_scout_web/templates/address/_balance_card.html.eex:21 msgid "Fetching tokens..." msgstr "" @@ -699,7 +700,6 @@ msgid "Position %{index}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:9 #: lib/block_scout_web/templates/chain/show.html.eex:11 #: lib/block_scout_web/templates/layout/app.html.eex:50 msgid "Price" @@ -1323,8 +1323,3 @@ msgstr "" #: lib/block_scout_web/views/internal_transaction_view.ex:24 msgid "Static Call" msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:18 -msgid "Unit Price" -msgstr ""