Add token type to summary box in the Token page

pull/542/head
Lucas Narciso 6 years ago committed by Luke Imhoff
parent 08df10f4ff
commit 5645fe9ea3
  1. 3
      apps/block_scout_web/lib/block_scout_web/templates/token/show.html.eex

@ -15,7 +15,8 @@
<h3><%= to_string(@token.contract_address_hash) %></h3> <h3><%= to_string(@token.contract_address_hash) %></h3>
<div class="d-flex flex-row justify-content-start text-muted"> <div class="d-flex flex-row justify-content-start text-muted">
<span class="mr-4"><%= @total_address_in_token_transfers %> <%= gettext "addresses" %></span> <span class="mr-4"><%= @token.type %></span>
<span class="mr-4"><%= @total_address_in_token_transfers %> <%= gettext "addresses" %></span>
<span class="mr-4"><%= @total_token_transfers %> <%= gettext "Transfers" %></span> <span class="mr-4"><%= @total_token_transfers %> <%= gettext "Transfers" %></span>
<%= if decimals?(@token) do %> <%= if decimals?(@token) do %>
<span class="mr-4"><%= @token.decimals %> <%= gettext "decimals" %></span> <span class="mr-4"><%= @token.decimals %> <%= gettext "decimals" %></span>

Loading…
Cancel
Save