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
- [#3066](https://github.com/poanetwork/blockscout/pull/3066) - ERC-721 token instance page: link to token added
### Fixes
- [#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">
<h1 class="card-title">
<%= if token_name?(@token) do %>
<%= @token.name %>
<%= link(@token.name, to: token_path(BlockScoutWeb.Endpoint, :show, @token.contract_address_hash)) %>
<% else %>
<%= gettext("Token Details") %>
<% end %>

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

Loading…
Cancel
Save