add button in UI to download csv

pull/2206/head
Ayrat Badykov 6 years ago
parent f984c9129e
commit 36218f0a66
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 1
      apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex
  2. 1
      apps/explorer/mix.exs

@ -6,6 +6,7 @@
<div class="card">
<%= render BlockScoutWeb.AddressView, "_tabs.html", assigns %>
<div class="card-body" data-async-listing="<%= @current_path %>">
<a type="button" href=<%= address_transaction_path(@conn, :transactions_csv, %{"address_id" => to_string(@address.hash)}) %>><%= gettext("Download all transactions as csv") %></a>
<div data-selector="channel-disconnected-message" style="display: none;">
<div data-selector="reload-button" class="alert alert-danger">
<a href="#" class="alert-link"><%= gettext "Connection Lost, click to load newer transactions" %></a>

@ -65,7 +65,6 @@ defmodule Explorer.Mixfile do
{:benchee, "~> 0.13.1", only: :test},
# CSV output for benchee
{:benchee_csv, "~> 0.8.0", only: :test},
{:briefly, "~> 0.4", github: "CargoSense/briefly"},
{:bypass, "~> 1.0", only: :test},
{:comeonin, "~> 4.0"},
{:credo, "1.0.0", only: :test, runtime: false},

Loading…
Cancel
Save