value-ticker gaps fix

pull/2509/head
maxgrapps 5 years ago
parent 986ac280ae
commit 9ac6c07997
  1. 3
      apps/block_scout_web/lib/block_scout_web/templates/chain/_block.html.eex
  2. 6
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex
  3. 3
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_token_transfer.html.eex
  4. 3
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex
  5. 12
      apps/block_scout_web/priv/gettext/default.pot

@ -20,8 +20,7 @@
</div> </div>
<%= if BlockScoutWeb.BlockView.show_reward?(@block.rewards) do %> <%= if BlockScoutWeb.BlockView.show_reward?(@block.rewards) do %>
<div class="text-truncate"> <div class="text-truncate">
<%= gettext "Reward" %> <%= gettext "Reward" %> <%= BlockScoutWeb.BlockView.combined_rewards_value(@block) %>
<%= BlockScoutWeb.BlockView.combined_rewards_value(@block) %>
</div> </div>
<% end %> <% end %>
</div> </div>

@ -26,12 +26,10 @@
</span> </span>
<span class="d-flex flex-md-row flex-column mt-3 mt-md-0"> <span class="d-flex flex-md-row flex-column mt-3 mt-md-0">
<span class="tile-title"> <span class="tile-title">
<%= value(@transaction, include_label: false) %>&nbsp; <%= value(@transaction, include_label: false) %> <%= gettext "Ether" %>
<%= gettext "Ether" %>
</span> </span>
<span class="ml-0 ml-md-1 text-nowrap"> <span class="ml-0 ml-md-1 text-nowrap">
<%= formatted_fee(@transaction, denomination: :ether, include_label: false) %> <%= formatted_fee(@transaction, denomination: :ether, include_label: false) %> <%= gettext "TX Fee" %>
<%= gettext "TX Fee" %>
</span> </span>
</span> </span>

@ -20,7 +20,6 @@
</span> </span>
</span> </span>
<span class="col-xs-12 col-lg-4 ml-3 ml-sm-0 text-truncate"> <span class="col-xs-12 col-lg-4 ml-3 ml-sm-0 text-truncate">
<%= token_transfer_amount(@token_transfer) %> <%= token_transfer_amount(@token_transfer) %> <%= link(token_symbol(@token_transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, @token_transfer.token.contract_address_hash)) %>
<%= link(token_symbol(@token_transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, @token_transfer.token.contract_address_hash)) %>
</span> </span>
</div> </div>

@ -221,8 +221,7 @@
</h3> </h3>
<!-- Gas Limit --> <!-- Gas Limit -->
<p class="address-current-balance"> <p class="address-current-balance">
<%= gettext "Limit" %> <%= gettext "Limit" %> <%= format_gas_limit(@transaction.gas) %>
<%= format_gas_limit(@transaction.gas) %>
</p> </p>
</div> </div>
</div> </div>

@ -370,7 +370,7 @@ msgstr ""
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 #: 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/layout/app.html.eex:56
#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 #: 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/templates/transaction/overview.html.eex:196
#: lib/block_scout_web/views/wei_helpers.ex:78 #: lib/block_scout_web/views/wei_helpers.ex:78
msgid "Ether" msgid "Ether"
@ -441,7 +441,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:39 #: 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" msgid "IN"
msgstr "" msgstr ""
@ -567,7 +567,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:37 #: 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" msgid "OUT"
msgstr "" msgstr ""
@ -692,7 +692,7 @@ msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 #: 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 #: lib/block_scout_web/templates/transaction/overview.html.eex:84
msgid "TX Fee" msgid "TX Fee"
msgstr "" msgstr ""
@ -938,12 +938,12 @@ msgid "View Contract"
msgstr "" msgstr ""
#, elixir-format #, 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" msgid "View Less Transfers"
msgstr "" msgstr ""
#, elixir-format #, 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" msgid "View More Transfers"
msgstr "" msgstr ""

Loading…
Cancel
Save