Merge pull request #3066 from poanetwork/vb-link-to-token

ERC-721 token instance page: link to token added
pull/3069/head
Victor Baranov 5 years ago committed by GitHub
commit 2824fefc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex
  3. 2
      apps/block_scout_web/lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex

@ -2,6 +2,8 @@
### Features ### Features
- [#3066](https://github.com/poanetwork/blockscout/pull/3066) - ERC-721 token instance page: link to token added
### Fixes ### Fixes
- [#3064](https://github.com/poanetwork/blockscout/pull/3064) - Automatically define Block reward contract address in TokenBridge supply module - [#3064](https://github.com/poanetwork/blockscout/pull/3064) - Automatically define Block reward contract address in TokenBridge supply module

@ -5,7 +5,7 @@
<div class="card-body"> <div class="card-body">
<h1 class="card-title"> <h1 class="card-title">
<%= if token_name?(@token) do %> <%= if token_name?(@token) do %>
<%= @token.name %> <%= link(@token.name, to: token_path(BlockScoutWeb.Endpoint, :show, @token.contract_address_hash)) %>
<% else %> <% else %>
<%= gettext("Token Details") %> <%= gettext("Token Details") %>
<% end %> <% end %>

@ -37,7 +37,7 @@
<%= value %> <%= value %>
<% end %> <% end %>
<%= " "%> <%= " "%>
<%= @token_transfer.token.symbol %> <%= link(@token_transfer.token.symbol, to: token_path(BlockScoutWeb.Endpoint, :show, @token_transfer.token.contract_address_hash)) %>
</span> </span>
</span> </span>
</div> </div>

Loading…
Cancel
Save