Merge pull request #689 from poanetwork/672-txn-copy-button

672 txn copy button
pull/696/head
Jimmy Lauzau 6 years ago committed by GitHub
commit 4dbddbfeff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex
  2. 36
      apps/block_scout_web/priv/gettext/default.pot
  3. 36
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -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="<%= gettext("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">

@ -50,7 +50,7 @@ msgstr ""
msgid "Transactions"
msgstr ""
#: lib/block_scout_web/templates/transaction/overview.html.eex:84
#: lib/block_scout_web/templates/transaction/overview.html.eex:91
msgid "Value"
msgstr ""
@ -74,7 +74,7 @@ msgid "Miner"
msgstr ""
#: lib/block_scout_web/templates/block/overview.html.eex:59
#: lib/block_scout_web/templates/transaction/overview.html.eex:52
#: lib/block_scout_web/templates/transaction/overview.html.eex:59
msgid "Nonce"
msgstr ""
@ -98,11 +98,11 @@ msgstr ""
msgid "Total Difficulty"
msgstr ""
#: lib/block_scout_web/templates/transaction/overview.html.eex:31
#: lib/block_scout_web/templates/transaction/overview.html.eex:38
msgid "Block Number"
msgstr ""
#: lib/block_scout_web/templates/transaction/overview.html.eex:8
#: lib/block_scout_web/templates/transaction/overview.html.eex:15
msgid "Transaction Details"
msgstr ""
@ -110,7 +110,7 @@ msgstr ""
msgid "Cumulative Gas Used"
msgstr ""
#: lib/block_scout_web/templates/transaction/overview.html.eex:95
#: lib/block_scout_web/templates/transaction/overview.html.eex:102
msgid "Gas"
msgstr ""
@ -118,7 +118,7 @@ msgstr ""
msgid "Gas Price"
msgstr ""
#: lib/block_scout_web/templates/transaction/overview.html.eex:65
#: lib/block_scout_web/templates/transaction/overview.html.eex:72
msgid "Input"
msgstr ""
@ -197,7 +197,7 @@ msgstr ""
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:35
#: lib/block_scout_web/templates/transaction/index.html.eex:16
#: lib/block_scout_web/templates/transaction/index.html.eex:35
#: lib/block_scout_web/templates/transaction/overview.html.eex:40
#: lib/block_scout_web/templates/transaction/overview.html.eex:47
#: lib/block_scout_web/views/transaction_view.ex:46
#: lib/block_scout_web/views/transaction_view.ex:80
msgid "Pending"
@ -291,7 +291,7 @@ msgstr ""
#: lib/block_scout_web/templates/address_internal_transaction/_internal_transaction.html.eex:22
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:68
#: lib/block_scout_web/templates/transaction/_tile.html.eex:24
#: lib/block_scout_web/templates/transaction/overview.html.eex:84
#: lib/block_scout_web/templates/transaction/overview.html.eex:91
#: lib/block_scout_web/templates/transaction_internal_transaction/_internal_transaction.html.eex:16
#: lib/block_scout_web/views/wei_helpers.ex:72
msgid "Ether"
@ -456,7 +456,7 @@ msgstr ""
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:69
#: lib/block_scout_web/templates/transaction/_tile.html.eex:27
#: lib/block_scout_web/templates/transaction/overview.html.eex:57
#: lib/block_scout_web/templates/transaction/overview.html.eex:64
msgid "TX Fee"
msgstr ""
@ -620,7 +620,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:64
#: lib/block_scout_web/templates/transaction/overview.html.eex:16
#: lib/block_scout_web/templates/transaction/overview.html.eex:23
msgid "Contract Address Pending"
msgstr ""
@ -698,12 +698,12 @@ msgid "Github"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:45
#: lib/block_scout_web/templates/transaction/overview.html.eex:52
msgid "Block Confirmations"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:107
#: lib/block_scout_web/templates/transaction/overview.html.eex:114
msgid "Limit"
msgstr ""
@ -719,7 +719,7 @@ msgid "There are no logs for this transaction."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:100
#: lib/block_scout_web/templates/transaction/overview.html.eex:107
msgid "Used"
msgstr ""
@ -1013,3 +1013,13 @@ msgstr ""
#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:83
msgid "More internal transactions have come in"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:10
msgid "Copy Transaction Hash"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:10
msgid "Copy Txn Hash"
msgstr ""

@ -62,7 +62,7 @@ msgstr "BlockScout"
msgid "Transactions"
msgstr "Transactions"
#: lib/block_scout_web/templates/transaction/overview.html.eex:84
#: lib/block_scout_web/templates/transaction/overview.html.eex:91
msgid "Value"
msgstr "Value"
@ -86,7 +86,7 @@ msgid "Miner"
msgstr "Validator"
#: lib/block_scout_web/templates/block/overview.html.eex:59
#: lib/block_scout_web/templates/transaction/overview.html.eex:52
#: lib/block_scout_web/templates/transaction/overview.html.eex:59
msgid "Nonce"
msgstr "Nonce"
@ -110,11 +110,11 @@ msgstr "Timestamp"
msgid "Total Difficulty"
msgstr "Total Difficulty"
#: lib/block_scout_web/templates/transaction/overview.html.eex:31
#: lib/block_scout_web/templates/transaction/overview.html.eex:38
msgid "Block Number"
msgstr "Block Height"
#: lib/block_scout_web/templates/transaction/overview.html.eex:8
#: lib/block_scout_web/templates/transaction/overview.html.eex:15
msgid "Transaction Details"
msgstr "Transaction Details"
@ -122,7 +122,7 @@ msgstr "Transaction Details"
msgid "Cumulative Gas Used"
msgstr "Cumulative Gas Used"
#: lib/block_scout_web/templates/transaction/overview.html.eex:95
#: lib/block_scout_web/templates/transaction/overview.html.eex:102
msgid "Gas"
msgstr "Gas"
@ -130,7 +130,7 @@ msgstr "Gas"
msgid "Gas Price"
msgstr "Gas Price"
#: lib/block_scout_web/templates/transaction/overview.html.eex:65
#: lib/block_scout_web/templates/transaction/overview.html.eex:72
msgid "Input"
msgstr "Input"
@ -209,7 +209,7 @@ msgstr "Showing %{count} Transactions"
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:35
#: lib/block_scout_web/templates/transaction/index.html.eex:16
#: lib/block_scout_web/templates/transaction/index.html.eex:35
#: lib/block_scout_web/templates/transaction/overview.html.eex:40
#: lib/block_scout_web/templates/transaction/overview.html.eex:47
#: lib/block_scout_web/views/transaction_view.ex:46
#: lib/block_scout_web/views/transaction_view.ex:80
msgid "Pending"
@ -303,7 +303,7 @@ msgstr ""
#: lib/block_scout_web/templates/address_internal_transaction/_internal_transaction.html.eex:22
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:68
#: lib/block_scout_web/templates/transaction/_tile.html.eex:24
#: lib/block_scout_web/templates/transaction/overview.html.eex:84
#: lib/block_scout_web/templates/transaction/overview.html.eex:91
#: lib/block_scout_web/templates/transaction_internal_transaction/_internal_transaction.html.eex:16
#: lib/block_scout_web/views/wei_helpers.ex:72
msgid "Ether"
@ -468,7 +468,7 @@ msgstr ""
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:69
#: lib/block_scout_web/templates/transaction/_tile.html.eex:27
#: lib/block_scout_web/templates/transaction/overview.html.eex:57
#: lib/block_scout_web/templates/transaction/overview.html.eex:64
msgid "TX Fee"
msgstr ""
@ -632,7 +632,7 @@ msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/pending_transaction/index.html.eex:64
#: lib/block_scout_web/templates/transaction/overview.html.eex:16
#: lib/block_scout_web/templates/transaction/overview.html.eex:23
msgid "Contract Address Pending"
msgstr ""
@ -710,12 +710,12 @@ msgid "Github"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:45
#: lib/block_scout_web/templates/transaction/overview.html.eex:52
msgid "Block Confirmations"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:107
#: lib/block_scout_web/templates/transaction/overview.html.eex:114
msgid "Limit"
msgstr ""
@ -731,7 +731,7 @@ msgid "There are no logs for this transaction."
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:100
#: lib/block_scout_web/templates/transaction/overview.html.eex:107
msgid "Used"
msgstr ""
@ -1025,3 +1025,13 @@ msgstr ""
#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:83
msgid "More internal transactions have come in"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:10
msgid "Copy Transaction Hash"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/overview.html.eex:10
msgid "Copy Txn Hash"
msgstr ""

Loading…
Cancel
Save