total supply quantity gap fix, token transfer tile value gap fixes

pull/2509/head
maxgrapps 5 years ago
parent 3edc5abf99
commit b7c2b49cee
  1. 3
      apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex
  3. 3
      apps/block_scout_web/lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex
  4. 6
      apps/block_scout_web/priv/gettext/default.pot

@ -79,8 +79,7 @@
<%= format_according_to_decimals(@token.total_supply, @token.decimals) %> <%= format_according_to_decimals(@token.total_supply, @token.decimals) %>
<% else %> <% else %>
<%= format_integer_to_currency(@token.total_supply) %> <%= format_integer_to_currency(@token.total_supply) %>
<% end %> <% end %> <%= @token.symbol %>
<%= @token.symbol %>
</h3> </h3>
<%= if @token.usd_value do %> <%= if @token.usd_value do %>
<div class="text-uppercase"> <div class="text-uppercase">

@ -180,7 +180,7 @@
<%= for transfer <- aggregate_token_transfers(transaction_with_transfers.token_transfers) do %> <%= for transfer <- aggregate_token_transfers(transaction_with_transfers.token_transfers) do %>
<h3 class="address-balance-text"> <h3 class="address-balance-text">
<%= token_transfer_amount(transfer) %> <%= link(token_symbol(transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, transfer.token.contract_address_hash)) %> <%= token_transfer_amount(transfer) %> <%= link(token_symbol(transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, " ", transfer.token.contract_address_hash)) %>
</h3> </h3>
<% end %> <% end %>

@ -13,8 +13,7 @@
</span> </span>
<span class="tile-title text-truncate"> <span class="tile-title text-truncate">
<%= token_transfer_amount(@token_transfer) %> <%= token_transfer_amount(@token_transfer) %> <%= link(token_symbol(@token_transfer.token), to: token_path(@conn, :show, @token_transfer.token.contract_address_hash)) %>
<%= link(token_symbol(@token_transfer.token), to: token_path(@conn, :show, @token_transfer.token.contract_address_hash)) %>
</span> </span>
</div> </div>
</div> </div>

@ -211,8 +211,8 @@ msgstr ""
#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:37 #: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:37
#: lib/block_scout_web/templates/address/overview.html.eex:145 #: lib/block_scout_web/templates/address/overview.html.eex:145
#: lib/block_scout_web/templates/address/overview.html.eex:153 #: lib/block_scout_web/templates/address/overview.html.eex:153
#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:107 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106
#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:115 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:114
msgid "Close" msgid "Close"
msgstr "" msgstr ""
@ -623,7 +623,7 @@ msgstr ""
#: lib/block_scout_web/templates/address/overview.html.eex:33 #: lib/block_scout_web/templates/address/overview.html.eex:33
#: lib/block_scout_web/templates/address/overview.html.eex:144 #: lib/block_scout_web/templates/address/overview.html.eex:144
#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36
#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:105
msgid "QR Code" msgid "QR Code"
msgstr "" msgstr ""

Loading…
Cancel
Save