Fix Token transfers CSV export

pull/3399/head
Victor Baranov 4 years ago
parent 84625a710a
commit 402a2e5288
  1. 1
      CHANGELOG.md
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/address_token/index.html.eex
  3. 2
      apps/block_scout_web/lib/block_scout_web/views/address_token_view.ex

@ -12,6 +12,7 @@
### Fixes
- [#3399](https://github.com/poanetwork/blockscout/pull/3399) - Fix Token transfers CSV export
- [#3396](https://github.com/poanetwork/blockscout/pull/3396) - Handle exchange rates request throttled
- [#3382](https://github.com/poanetwork/blockscout/pull/3382) - Check ets table exists for know tokens
- [#3376](https://github.com/poanetwork/blockscout/pull/3376) - Fix contract nested inputs

@ -27,7 +27,7 @@
<div class="transaction-bottom-panel">
<div csv-download class="download-all-transactions">
Download <a class="download-all-transactions-link" href=<%= address_transaction_path(@conn, :token_transfers_csv, %{"address_id" => to_string(@address.hash)}) %>><%= gettext("CSV") %></span>
Download <a class="download-all-transactions-link" href=<%= address_transaction_path(@conn, :token_transfers_csv, %{"address_id" => Address.checksum(@address.hash)}) %>><%= gettext("CSV") %></span>
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="16">
<path fill="#333333" fill-rule="evenodd" d="M13 16H1c-.999 0-1-1-1-1V1s-.004-1 1-1h6l7 7v8s-.032 1-1 1zm-1-8c0-.99-1-1-1-1H8s-1 .001-1-1V3c0-.999-1-1-1-1H2v12h10V8z"/>
</svg>

@ -1,3 +1,5 @@
defmodule BlockScoutWeb.AddressTokenView do
use BlockScoutWeb, :view
alias Explorer.Chain.Address
end

Loading…
Cancel
Save