Update ages in real-time
pull/347/head
Jimmy Lauzau 7 years ago committed by GitHub
commit c2925892ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/explorer/lib/explorer/chain/statistics.ex
  2. 7
      apps/explorer_web/assets/js/app.js
  3. 28
      apps/explorer_web/assets/js/lib/from_now.js
  4. 2
      apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex
  5. 2
      apps/explorer_web/lib/explorer_web/templates/address_transaction/index.html.eex
  6. 2
      apps/explorer_web/lib/explorer_web/templates/block/index.html.eex
  7. 6
      apps/explorer_web/lib/explorer_web/templates/block_transaction/index.html.eex
  8. 2
      apps/explorer_web/lib/explorer_web/templates/chain/_blocks.html.eex
  9. 2
      apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex
  10. 2
      apps/explorer_web/lib/explorer_web/templates/chain/show.html.eex
  11. 3
      apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex
  12. 2
      apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex
  13. 4
      apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex
  14. 18
      apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex
  15. 1
      apps/explorer_web/lib/explorer_web/views/block_transaction_view.ex
  16. 4
      apps/explorer_web/lib/explorer_web/views/block_view.ex
  17. 4
      apps/explorer_web/lib/explorer_web/views/pending_transaction_view.ex
  18. 22
      apps/explorer_web/lib/explorer_web/views/transaction_view.ex
  19. 53
      apps/explorer_web/priv/gettext/default.pot
  20. 53
      apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po

@ -100,7 +100,7 @@ defmodule Explorer.Chain.Statistics do
lag: %Duration{seconds: 0, megaseconds: 0, microseconds: 0},
number: -1,
skipped_blocks: 0,
timestamp: :calendar.universal_time(),
timestamp: nil,
transaction_count: 0,
transaction_velocity: 0,
transactions: []

@ -19,8 +19,9 @@ import 'bootstrap'
// paths "./socket" or full ones "web/static/js/socket".
// import socket from "./socket"
import './lib/sidebar'
import './lib/market_history_chart'
import './lib/card_flip'
import './lib/tooltip'
import './lib/clipboard_buttons'
import './lib/from_now'
import './lib/market_history_chart'
import './lib/sidebar'
import './lib/tooltip'

@ -0,0 +1,28 @@
import $ from 'jquery'
import moment from 'moment'
moment.locale(window.locale)
moment.relativeTimeThreshold('M', 12)
moment.relativeTimeThreshold('d', 30)
moment.relativeTimeThreshold('h', 24)
moment.relativeTimeThreshold('m', 60)
moment.relativeTimeThreshold('s', 60)
moment.relativeTimeThreshold('ss', 1)
function updateAllAges () {
$('[data-from-now]').each((i, el) => tryUpdateAge(el))
}
function tryUpdateAge (el) {
if (!el.dataset.fromNow) return
const timestamp = moment(el.dataset.fromNow)
if (timestamp.isValid()) updateAge(el, timestamp)
}
function updateAge (el, timestamp) {
const fromNow = timestamp.fromNow()
if (fromNow !== el.innerHTML) el.innerHTML = fromNow
}
updateAllAges()
setInterval(updateAllAges, 1000)

@ -98,7 +98,7 @@
to: block_path(@conn, :show, @conn.assigns.locale, internal_transaction.transaction.block)
) %>
</td>
<td><%= ExplorerWeb.BlockView.age(internal_transaction.transaction.block) %></td>
<td data-from-now="<%= internal_transaction.transaction.block.timestamp %>"></td>
<td>
<%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: internal_transaction.from_address %>
</td>

@ -106,7 +106,7 @@
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block)
) %>
</td>
<td><%= transaction.block.timestamp |> Timex.from_now %></td>
<td data-from-now="<%= transaction.block.timestamp %>"></td>
<td class="address-cell">
<%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.from_address %>
</td>

@ -34,7 +34,7 @@
"data-block-number": to_string(block.number)
) %>
</td>
<td><%= block.timestamp |> Timex.from_now %></td>
<td data-from-now="<%= block.timestamp %>"></td>
<td>
<%= gettext("%{count} transactions", count: block.transactions |> Enum.count) %>
</td>

@ -14,7 +14,7 @@
<%= gettext "Timestamp" %>
</th>
<td>
<%= age(@block) %> (<%= formatted_timestamp(@block) %>)
<span data-from-now="<%= @block.timestamp %>"></span> (<%= formatted_timestamp(@block) %>)
</td>
</tr>
<tr>
@ -160,9 +160,7 @@
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block)
) %>
</td>
<td>
<%= transaction.block.timestamp |> Timex.from_now %>
</td>
<td data-from-now="<%= transaction.block.timestamp %>"></td>
<td class="address-cell">
<%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.from_address %>
</td>

@ -17,7 +17,7 @@
<img src="<%= static_path(@conn, "/images/block.svg") %>" />
<%= link(block, to: block_path(@conn, :show, @conn.assigns.locale, block)) %>
</td>
<td><%= block.timestamp |> Timex.from_now %></td>
<td data-from-now="<%= block.timestamp %>"></td>
<td><%= block.transactions |> Enum.count %></td>
<td><%= block.gas_used |> Cldr.Number.to_string! %></td>
<td>

@ -36,7 +36,7 @@
<% end %>
</td>
<td><%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> </td>
<td><%= transaction.block.timestamp |> Timex.from_now() %></td>
<td data-from-now="<%= transaction.block.timestamp %>"></td>
</tr>
<% end %>
</tbody>

@ -10,7 +10,7 @@
<div class="d-flex flex-column justify-content-center align-items-center">
<%= render ExplorerWeb.IconsView, "_hourglass_icon.html", assigns %>
<div> <%= gettext("Last Block") %></div>
<div> <%= @chain.timestamp |> Timex.from_now() %></div>
<div data-from-now="<%= @chain.timestamp %>"></div>
</div>
<div class="d-flex flex-column justify-content-center align-items-center">
<div class="stroke"> <%= render ExplorerWeb.IconsView, "_guage_icon.html", assigns %> </div>

@ -6,6 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= gettext "POA Network Explorer" %></title>
<link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
<script>
window.locale = '<%= @conn.assigns.locale %>'
</script>
</head>
<body>

@ -48,7 +48,7 @@
<td>
<%= render ExplorerWeb.TransactionView, "_link.html", conn: @conn, transaction: transaction %>
</td>
<td><%= last_seen(transaction) %></td>
<td data-from-now="<%= transaction.updated_at %>"></td>
<td>
<%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.from_address %>
</td>

@ -55,9 +55,7 @@
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block)
) %>
</td>
<td>
<%= transaction.block.timestamp %>
</td>
<td data-from-now="<%= transaction.block.timestamp %>"></td>
<td>
<%= render ExplorerWeb.AddressView, "_link.html", conn: @conn, address: transaction.from_address %>
</td>

@ -48,8 +48,12 @@
<th scope="row">
<%= gettext "Age" %>
</th>
<td title="<%= formatted_timestamp(@transaction) %>">
<%= formatted_age(@transaction) %>
<td>
<%= if block do %>
<span data-from-now="<%= @transaction.block.timestamp %>"></span> (<%= formatted_timestamp(@transaction.block) %>)
<% else %>
<%= gettext "Pending" %>
<% end %>
</td>
</tr>
<tr>
@ -121,19 +125,13 @@
<th scope="row">
<%= gettext "First Seen" %>
</th>
<% first_seen = first_seen(@transaction) %>
<td title="<%= first_seen %>">
<%= first_seen %>
</td>
<td data-from-now="<%= @transaction.inserted_at %>"></td>
</tr>
<tr>
<th scope="row">
<%= gettext "Last Seen" %>
</th>
<% last_seen = last_seen(@transaction) %>
<td title="<%= last_seen %>">
<%= last_seen %>
</td>
<td data-from-now="<%= @transaction.updated_at %>"></td>
</tr>
<tr>
<th scope="row">

@ -3,7 +3,6 @@ defmodule ExplorerWeb.BlockTransactionView do
alias ExplorerWeb.{BlockView, TransactionView}
defdelegate age(block), to: BlockView
defdelegate formatted_timestamp(block), to: BlockView
defdelegate status(transacton), to: TransactionView
end

@ -7,10 +7,6 @@ defmodule ExplorerWeb.BlockView do
@dialyzer :no_match
def age(%Block{timestamp: timestamp}) do
Timex.from_now(timestamp)
end
def average_gas_price(%Block{transactions: transactions}) do
average =
transactions

@ -1,9 +1,5 @@
defmodule ExplorerWeb.PendingTransactionView do
use ExplorerWeb, :view
alias ExplorerWeb.TransactionView
@dialyzer :no_match
defdelegate last_seen(transaction), to: TransactionView
end

@ -53,10 +53,6 @@ defmodule ExplorerWeb.TransactionView do
{fee_type, formatted}
end
def first_seen(%Transaction{inserted_at: inserted_at}) do
Timex.from_now(inserted_at)
end
def format_gas_limit(gas) do
Number.to_string!(gas)
end
@ -67,19 +63,7 @@ defmodule ExplorerWeb.TransactionView do
format_usd_value(USD.from(value, token))
end
def formatted_age(%Transaction{block: block}) do
case block do
nil -> gettext("Pending")
_ -> "#{BlockView.age(block)} (#{BlockView.formatted_timestamp(block)})"
end
end
def formatted_timestamp(%Transaction{block: block}) do
case block do
nil -> gettext("Pending")
_ -> BlockView.formatted_timestamp(block)
end
end
defdelegate formatted_timestamp(block), to: BlockView
defguardp is_transaction_type(mod) when mod in [InternalTransaction, Transaction]
@ -98,10 +82,6 @@ defmodule ExplorerWeb.TransactionView do
to_string(hash)
end
def last_seen(%Transaction{updated_at: updated_at}) do
Timex.from_now(updated_at)
end
def status(transaction) do
Chain.transaction_to_status(transaction)
end

@ -28,7 +28,7 @@ msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:20
#: lib/explorer_web/templates/block_transaction/index.html.eex:88
#: lib/explorer_web/templates/transaction/overview.html.eex:173
#: lib/explorer_web/templates/transaction/overview.html.eex:171
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:34
msgid "Gas Used"
msgstr ""
@ -66,8 +66,8 @@ msgstr ""
#: lib/explorer_web/templates/chain/_transactions.html.eex:10
#: lib/explorer_web/templates/pending_transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/overview.html.eex:57
#: lib/explorer_web/templates/transaction/overview.html.eex:65
#: lib/explorer_web/templates/transaction/overview.html.eex:61
#: lib/explorer_web/templates/transaction/overview.html.eex:69
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:33
msgid "Value"
msgstr ""
@ -82,7 +82,7 @@ msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:21
#: lib/explorer_web/templates/block_transaction/index.html.eex:96
#: lib/explorer_web/templates/transaction/overview.html.eex:140
#: lib/explorer_web/templates/transaction/overview.html.eex:138
msgid "Gas Limit"
msgstr ""
@ -91,7 +91,7 @@ msgid "Miner"
msgstr ""
#: lib/explorer_web/templates/block_transaction/index.html.eex:104
#: lib/explorer_web/templates/transaction/overview.html.eex:108
#: lib/explorer_web/templates/transaction/overview.html.eex:112
msgid "Nonce"
msgstr ""
@ -134,11 +134,11 @@ msgid "Gas"
msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:22
#: lib/explorer_web/templates/transaction/overview.html.eex:148
#: lib/explorer_web/templates/transaction/overview.html.eex:146
msgid "Gas Price"
msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:181
#: lib/explorer_web/templates/transaction/overview.html.eex:179
msgid "Input"
msgstr ""
@ -163,7 +163,7 @@ msgstr ""
#: lib/explorer_web/templates/chain/_transactions.html.eex:8
#: lib/explorer_web/templates/pending_transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/overview.html.eex:73
#: lib/explorer_web/templates/transaction/overview.html.eex:77
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:31
#: lib/explorer_web/views/address_internal_transaction_view.ex:9
#: lib/explorer_web/views/address_transaction_view.ex:11
@ -175,7 +175,7 @@ msgstr ""
msgid "Overview"
msgstr ""
#: lib/explorer_web/views/transaction_view.ex:116
#: lib/explorer_web/views/transaction_view.ex:96
msgid "Success"
msgstr ""
@ -187,7 +187,7 @@ msgstr ""
#: lib/explorer_web/templates/chain/_transactions.html.eex:9
#: lib/explorer_web/templates/pending_transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/overview.html.eex:85
#: lib/explorer_web/templates/transaction/overview.html.eex:89
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:32
#: lib/explorer_web/views/address_internal_transaction_view.ex:8
#: lib/explorer_web/views/address_transaction_view.ex:10
@ -232,19 +232,18 @@ msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/overview.html.eex:55
#: lib/explorer_web/views/transaction_view.ex:18
#: lib/explorer_web/views/transaction_view.ex:72
#: lib/explorer_web/views/transaction_view.ex:79
#: lib/explorer_web/views/transaction_view.ex:115
#: lib/explorer_web/views/transaction_view.ex:95
msgid "Pending"
msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:122
#: lib/explorer_web/templates/transaction/overview.html.eex:126
msgid "First Seen"
msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:36
#: lib/explorer_web/templates/transaction/overview.html.eex:131
#: lib/explorer_web/templates/transaction/overview.html.eex:132
msgid "Last Seen"
msgstr ""
@ -297,11 +296,11 @@ msgstr ""
msgid "Next Page"
msgstr ""
#: lib/explorer_web/views/transaction_view.ex:113
#: lib/explorer_web/views/transaction_view.ex:93
msgid "Failed"
msgstr ""
#: lib/explorer_web/views/transaction_view.ex:114
#: lib/explorer_web/views/transaction_view.ex:94
msgid "Out of Gas"
msgstr ""
@ -326,14 +325,14 @@ msgstr ""
#: lib/explorer_web/templates/chain/_transactions.html.eex:10
#: lib/explorer_web/templates/pending_transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/overview.html.eex:57
#: lib/explorer_web/templates/transaction/overview.html.eex:157
#: lib/explorer_web/templates/transaction/overview.html.eex:61
#: lib/explorer_web/templates/transaction/overview.html.eex:155
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:33
#: lib/explorer_web/views/wei_helpers.ex:71
msgid "Ether"
msgstr ""
#: lib/explorer_web/views/block_view.ex:22
#: lib/explorer_web/views/block_view.ex:18
#: lib/explorer_web/views/wei_helpers.ex:70
msgid "Gwei"
msgstr ""
@ -420,8 +419,8 @@ msgid "Price"
msgstr ""
#: lib/explorer_web/templates/address/overview.html.eex:32
#: lib/explorer_web/templates/transaction/overview.html.eex:65
#: lib/explorer_web/templates/transaction/overview.html.eex:165
#: lib/explorer_web/templates/transaction/overview.html.eex:69
#: lib/explorer_web/templates/transaction/overview.html.eex:163
#: lib/explorer_web/views/currency_helpers.ex:32
msgid "USD"
msgstr ""
@ -475,8 +474,8 @@ msgstr ""
msgid "View All"
msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:157
#: lib/explorer_web/templates/transaction/overview.html.eex:165
#: lib/explorer_web/templates/transaction/overview.html.eex:155
#: lib/explorer_web/templates/transaction/overview.html.eex:163
msgid "TX Fee"
msgstr ""
@ -494,16 +493,16 @@ msgid "Contract bytecode"
msgstr ""
#: lib/explorer_web/templates/address_transaction/index.html.eex:137
#: lib/explorer_web/templates/block_transaction/index.html.eex:194
#: lib/explorer_web/templates/block_transaction/index.html.eex:192
msgid "There are no Transactions"
msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:131
#: lib/explorer_web/templates/address_transaction/index.html.eex:143
#: lib/explorer_web/templates/block/index.html.eex:60
#: lib/explorer_web/templates/block_transaction/index.html.eex:200
#: lib/explorer_web/templates/block_transaction/index.html.eex:198
#: lib/explorer_web/templates/pending_transaction/index.html.eex:69
#: lib/explorer_web/templates/transaction/index.html.eex:90
#: lib/explorer_web/templates/transaction/index.html.eex:88
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:71
msgid "Older"
msgstr ""

@ -40,7 +40,7 @@ msgstr "%{year} POA Network Ltd. All rights reserved"
#: lib/explorer_web/templates/block/index.html.eex:20
#: lib/explorer_web/templates/block_transaction/index.html.eex:88
#: lib/explorer_web/templates/transaction/overview.html.eex:173
#: lib/explorer_web/templates/transaction/overview.html.eex:171
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:34
msgid "Gas Used"
msgstr "Gas Used"
@ -78,8 +78,8 @@ msgstr "Transactions"
#: lib/explorer_web/templates/chain/_transactions.html.eex:10
#: lib/explorer_web/templates/pending_transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/overview.html.eex:57
#: lib/explorer_web/templates/transaction/overview.html.eex:65
#: lib/explorer_web/templates/transaction/overview.html.eex:61
#: lib/explorer_web/templates/transaction/overview.html.eex:69
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:33
msgid "Value"
msgstr "Value"
@ -94,7 +94,7 @@ msgstr "Difficulty"
#: lib/explorer_web/templates/block/index.html.eex:21
#: lib/explorer_web/templates/block_transaction/index.html.eex:96
#: lib/explorer_web/templates/transaction/overview.html.eex:140
#: lib/explorer_web/templates/transaction/overview.html.eex:138
msgid "Gas Limit"
msgstr "Gas Limit"
@ -103,7 +103,7 @@ msgid "Miner"
msgstr "Validator"
#: lib/explorer_web/templates/block_transaction/index.html.eex:104
#: lib/explorer_web/templates/transaction/overview.html.eex:108
#: lib/explorer_web/templates/transaction/overview.html.eex:112
msgid "Nonce"
msgstr "Nonce"
@ -146,11 +146,11 @@ msgid "Gas"
msgstr "Gas"
#: lib/explorer_web/templates/block/index.html.eex:22
#: lib/explorer_web/templates/transaction/overview.html.eex:148
#: lib/explorer_web/templates/transaction/overview.html.eex:146
msgid "Gas Price"
msgstr "Gas Price"
#: lib/explorer_web/templates/transaction/overview.html.eex:181
#: lib/explorer_web/templates/transaction/overview.html.eex:179
msgid "Input"
msgstr "Input"
@ -175,7 +175,7 @@ msgstr "Address"
#: lib/explorer_web/templates/chain/_transactions.html.eex:8
#: lib/explorer_web/templates/pending_transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/overview.html.eex:73
#: lib/explorer_web/templates/transaction/overview.html.eex:77
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:31
#: lib/explorer_web/views/address_internal_transaction_view.ex:9
#: lib/explorer_web/views/address_transaction_view.ex:11
@ -187,7 +187,7 @@ msgstr "From"
msgid "Overview"
msgstr "Overview"
#: lib/explorer_web/views/transaction_view.ex:116
#: lib/explorer_web/views/transaction_view.ex:96
msgid "Success"
msgstr "Success"
@ -199,7 +199,7 @@ msgstr "Success"
#: lib/explorer_web/templates/chain/_transactions.html.eex:9
#: lib/explorer_web/templates/pending_transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/overview.html.eex:85
#: lib/explorer_web/templates/transaction/overview.html.eex:89
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:32
#: lib/explorer_web/views/address_internal_transaction_view.ex:8
#: lib/explorer_web/views/address_transaction_view.ex:10
@ -244,19 +244,18 @@ msgstr "Showing %{count} Transactions"
#: lib/explorer_web/templates/pending_transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/overview.html.eex:55
#: lib/explorer_web/views/transaction_view.ex:18
#: lib/explorer_web/views/transaction_view.ex:72
#: lib/explorer_web/views/transaction_view.ex:79
#: lib/explorer_web/views/transaction_view.ex:115
#: lib/explorer_web/views/transaction_view.ex:95
msgid "Pending"
msgstr "Pending"
#: lib/explorer_web/templates/transaction/overview.html.eex:122
#: lib/explorer_web/templates/transaction/overview.html.eex:126
msgid "First Seen"
msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:36
#: lib/explorer_web/templates/transaction/overview.html.eex:131
#: lib/explorer_web/templates/transaction/overview.html.eex:132
msgid "Last Seen"
msgstr ""
@ -309,11 +308,11 @@ msgstr ""
msgid "Next Page"
msgstr ""
#: lib/explorer_web/views/transaction_view.ex:113
#: lib/explorer_web/views/transaction_view.ex:93
msgid "Failed"
msgstr ""
#: lib/explorer_web/views/transaction_view.ex:114
#: lib/explorer_web/views/transaction_view.ex:94
msgid "Out of Gas"
msgstr ""
@ -338,14 +337,14 @@ msgstr ""
#: lib/explorer_web/templates/chain/_transactions.html.eex:10
#: lib/explorer_web/templates/pending_transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/overview.html.eex:57
#: lib/explorer_web/templates/transaction/overview.html.eex:157
#: lib/explorer_web/templates/transaction/overview.html.eex:61
#: lib/explorer_web/templates/transaction/overview.html.eex:155
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:33
#: lib/explorer_web/views/wei_helpers.ex:71
msgid "Ether"
msgstr "POA"
#: lib/explorer_web/views/block_view.ex:22
#: lib/explorer_web/views/block_view.ex:18
#: lib/explorer_web/views/wei_helpers.ex:70
msgid "Gwei"
msgstr ""
@ -432,8 +431,8 @@ msgid "Price"
msgstr ""
#: lib/explorer_web/templates/address/overview.html.eex:32
#: lib/explorer_web/templates/transaction/overview.html.eex:65
#: lib/explorer_web/templates/transaction/overview.html.eex:165
#: lib/explorer_web/templates/transaction/overview.html.eex:69
#: lib/explorer_web/templates/transaction/overview.html.eex:163
#: lib/explorer_web/views/currency_helpers.ex:32
msgid "USD"
msgstr ""
@ -487,8 +486,8 @@ msgstr ""
msgid "View All"
msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:157
#: lib/explorer_web/templates/transaction/overview.html.eex:165
#: lib/explorer_web/templates/transaction/overview.html.eex:155
#: lib/explorer_web/templates/transaction/overview.html.eex:163
msgid "TX Fee"
msgstr ""
@ -506,16 +505,16 @@ msgid "Contract bytecode"
msgstr ""
#: lib/explorer_web/templates/address_transaction/index.html.eex:137
#: lib/explorer_web/templates/block_transaction/index.html.eex:194
#: lib/explorer_web/templates/block_transaction/index.html.eex:192
msgid "There are no Transactions"
msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:131
#: lib/explorer_web/templates/address_transaction/index.html.eex:143
#: lib/explorer_web/templates/block/index.html.eex:60
#: lib/explorer_web/templates/block_transaction/index.html.eex:200
#: lib/explorer_web/templates/block_transaction/index.html.eex:198
#: lib/explorer_web/templates/pending_transaction/index.html.eex:69
#: lib/explorer_web/templates/transaction/index.html.eex:90
#: lib/explorer_web/templates/transaction/index.html.eex:88
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:71
msgid "Older"
msgstr ""

Loading…
Cancel
Save