Added copy button to transaction overview to copy txn hash

pull/689/head
katibest 6 years ago committed by jimmay5469
parent 10dd88d7ed
commit c6a6cf5fa3
  1. 7
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex

@ -5,6 +5,13 @@
<!-- Transaction Details -->
<div class="card">
<div class="card-body">
<div class="icon-links float-right">
<span data-clipboard-text="<%= @transaction %>">
<button type="button" class="icon-link" id="button" data-toggle="tooltip" data-placement="top" title="<%= gettext("Copy Txn Hash") %>" aria-label="Copy Transaction Hash">
<i class="fas fa-clone"></i>
</button>
</span>
</div>
<h1 class="card-title"><%= gettext "Transaction Details" %> </h1>
<h3 data-test="transaction_detail_hash"><%= @transaction %> </h3>
<span class="d-block mb-2">

Loading…
Cancel
Save