Update Copy Code Text

pull/1403/head
Andrew Cravenho 6 years ago
parent 6825a3c8bf
commit fc61e66b9c
  1. 6
      apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex

@ -36,7 +36,7 @@
<div class="d-flex justify-content-between align-items-baseline">
<h3><%= gettext "Contract source code" %></h3>
<button type="button" class="button button-secondary button-sm" id="button" data-toggle="tooltip" data-placement="top" data-clipboard-text="<%= @address.smart_contract.contract_source_code %>" aria-label="Copy Contract Source Code">
<%= gettext "Copy Code" %>
<%= gettext "Copy Source Code" %>
</button>
</div>
<div class="tile tile-muted mb-4">
@ -48,7 +48,7 @@
<div class="d-flex justify-content-between align-items-baseline">
<h3><%= gettext "Contract ABI" %></h3>
<button type="button" class="button button-secondary button-sm" id="button" data-clipboard-text="<%= format_smart_contract_abi(@address.smart_contract.abi) %>" aria-label="Copy Contract ABI">
<%= gettext "Copy Code" %>
<%= gettext "Copy ABI" %>
</button>
</div>
<div class="tile tile-muted mb-4">
@ -62,7 +62,7 @@
<div class="d-flex justify-content-between align-items-baseline">
<h3><%= gettext "Contract creation code" %></h3>
<button type="button" class="button button-secondary button-sm" id="button" data-clipboard-text="<%= @address.contract_code %>" aria-label="copy contract creation code">
<%= gettext "Copy Code" %>
<%= gettext "Copy Contract Creation Code" %>
</button>
</div>
<div class="tile tile-muted">

Loading…
Cancel
Save