From 9ac6c079973c07829155b5fc7985665ea5e6f413 Mon Sep 17 00:00:00 2001 From: maxgrapps Date: Tue, 6 Aug 2019 18:58:55 +0300 Subject: [PATCH] value-ticker gaps fix --- .../block_scout_web/templates/chain/_block.html.eex | 3 +-- .../templates/transaction/_tile.html.eex | 6 ++---- .../templates/transaction/_token_transfer.html.eex | 3 +-- .../templates/transaction/overview.html.eex | 3 +-- apps/block_scout_web/priv/gettext/default.pot | 12 ++++++------ 5 files changed, 11 insertions(+), 16 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/chain/_block.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/chain/_block.html.eex index 706d18ec47..0c86c88131 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/chain/_block.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/chain/_block.html.eex @@ -20,8 +20,7 @@ <%= if BlockScoutWeb.BlockView.show_reward?(@block.rewards) do %>
- <%= gettext "Reward" %> - <%= BlockScoutWeb.BlockView.combined_rewards_value(@block) %> + <%= gettext "Reward" %> <%= BlockScoutWeb.BlockView.combined_rewards_value(@block) %>
<% end %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex index b70cbbb1fb..91a7d9973a 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex @@ -26,12 +26,10 @@ - <%= value(@transaction, include_label: false) %>  - <%= gettext "Ether" %> + <%= value(@transaction, include_label: false) %> <%= gettext "Ether" %> - <%= formatted_fee(@transaction, denomination: :ether, include_label: false) %> - <%= gettext "TX Fee" %> + <%= formatted_fee(@transaction, denomination: :ether, include_label: false) %> <%= gettext "TX Fee" %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/_token_transfer.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/_token_transfer.html.eex index 3afa468b54..8c88fdf87b 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/_token_transfer.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/_token_transfer.html.eex @@ -20,7 +20,6 @@ - <%= token_transfer_amount(@token_transfer) %> - <%= link(token_symbol(@token_transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, @token_transfer.token.contract_address_hash)) %> + <%= token_transfer_amount(@token_transfer) %> <%= link(token_symbol(@token_transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, @token_transfer.token.contract_address_hash)) %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index e804ec81d9..6ed9d835f8 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -221,8 +221,7 @@

- <%= gettext "Limit" %> - <%= format_gas_limit(@transaction.gas) %> + <%= gettext "Limit" %> <%= format_gas_limit(@transaction.gas) %>

diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 95bb1f079b..0bfb51a681 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -370,7 +370,7 @@ msgstr "" #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 #: lib/block_scout_web/templates/layout/app.html.eex:56 #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:30 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:29 #: lib/block_scout_web/templates/transaction/overview.html.eex:196 #: lib/block_scout_web/views/wei_helpers.ex:78 msgid "Ether" @@ -441,7 +441,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:39 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:74 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:72 msgid "IN" msgstr "" @@ -567,7 +567,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:37 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:70 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:68 msgid "OUT" msgstr "" @@ -692,7 +692,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:34 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:32 #: lib/block_scout_web/templates/transaction/overview.html.eex:84 msgid "TX Fee" msgstr "" @@ -938,12 +938,12 @@ msgid "View Contract" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_tile.html.eex:55 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:53 msgid "View Less Transfers" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_tile.html.eex:54 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:52 msgid "View More Transfers" msgstr ""