Format html.eex

Neither mix format nor IntelliJ Elixir's formatters supports formatting
html.eex to the 120 columns, so manually do it ☹.  Update .pot and .po
files with new line numbers.
pull/131/head
Luke Imhoff 7 years ago
parent 125b540871
commit b58bbb63eb
  1. 24
      apps/explorer_web/lib/explorer_web/templates/address/show.html.eex
  2. 75
      apps/explorer_web/lib/explorer_web/templates/address_transaction_from/index.html.eex
  3. 80
      apps/explorer_web/lib/explorer_web/templates/address_transaction_to/index.html.eex
  4. 54
      apps/explorer_web/lib/explorer_web/templates/block/index.html.eex
  5. 41
      apps/explorer_web/lib/explorer_web/templates/block/show.html.eex
  6. 68
      apps/explorer_web/lib/explorer_web/templates/block_transaction/index.html.eex
  7. 42
      apps/explorer_web/lib/explorer_web/templates/chain/show.html.eex
  8. 15
      apps/explorer_web/lib/explorer_web/templates/layout/_header.html.eex
  9. 63
      apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex
  10. 68
      apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex
  11. 27
      apps/explorer_web/lib/explorer_web/templates/transaction/overview.html.eex
  12. 16
      apps/explorer_web/lib/explorer_web/templates/transaction/show.html.eex
  13. 24
      apps/explorer_web/lib/explorer_web/templates/transaction_log/index.html.eex
  14. 270
      apps/explorer_web/priv/gettext/default.pot
  15. 270
      apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po

@ -5,15 +5,31 @@
</div> </div>
<div class="address__container"> <div class="address__container">
<div class="address__tabs"> <div class="address__tabs">
<h2 class="address__tab address__tab--active"><%= link(gettext("Overview"), to: address_path(@conn, :show, @conn.assigns.locale, @address.hash), class: "address__link address__link--active") %></h2> <h2 class="address__tab address__tab--active">
<h2 class="address__tab"><%= link(gettext("Transactions To"), to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @address.hash), class: "address__link") %></h2> <%= link(
<h2 class="address__tab"><%= link(gettext("Transactions From"), to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @address.hash), class: "address__link") %></h2> gettext("Overview"),
to: address_path(@conn, :show, @conn.assigns.locale, @address.hash),
class: "address__link address__link--active"
) %>
</h2>
<h2 class="address__tab">
<%= link(gettext("Transactions To"), to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @address.hash), class: "address__link") %>
</h2>
<h2 class="address__tab">
<%= link(
gettext("Transactions From"),
to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @address.hash),
class: "address__link"
) %>
</h2>
</div> </div>
<div class="address__attributes"> <div class="address__attributes">
<dl> <dl>
<div class="address__item"> <div class="address__item">
<dt class="address__item-key"><%= gettext "Balance" %></dt> <dt class="address__item-key"><%= gettext "Balance" %></dt>
<dd class="address__item-value address__balance" title="<%= @address.hash %>"><%= format_balance(@address.balance) %> <%= gettext "Ether" %></dd> <dd class="address__item-value address__balance" title="<%= @address.hash %>">
<%= format_balance(@address.balance) %> <%= gettext "Ether" %>
</dd>
</div> </div>
</dl> </dl>
</div> </div>

@ -2,18 +2,51 @@
<div class="address__headline"> <div class="address__headline">
<h1 class="address__headline-title"><%= gettext("Address %{number}", number: @conn.params["address_id"]) %></h1> <h1 class="address__headline-title"><%= gettext("Address %{number}", number: @conn.params["address_id"]) %></h1>
<div class="address__pagination"><%= pagination_links @conn, @page, ["en", @conn.params["address_id"]], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("&lsaquo;"), next: Phoenix.HTML.raw("&rsaquo;"), path: &address_transaction_to_path/5 %></div> <div class="address__pagination"><%= pagination_links @conn, @page, ["en", @conn.params["address_id"]], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("&lsaquo;"), next: Phoenix.HTML.raw("&rsaquo;"), path: &address_transaction_to_path/5 %></div>
<div class="address__pagination">
<%= pagination_links(
@conn,
@page,
["en", @conn.params["address_id"]],
distance: 1,
first: true,
next: Phoenix.HTML.raw("&rsaquo;"),
path: &address_transaction_to_path/5,
previous: Phoenix.HTML.raw("&lsaquo;"),
view_style: :bulma
) %>
</div>
</div> </div>
<div class="address__container"> <div class="address__container">
<div class="address__tabs"> <div class="address__tabs">
<h2 class="address__tab"><%= link(gettext("Overview"), to: address_path(@conn, :show, @conn.assigns.locale, @conn.params["address_id"]), class: "address__link") %></h2> <h2 class="address__tab">
<h2 class="address__tab"><%= link(gettext("Transactions To"), to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"]), class: "address__link") %></h2> <%= link(
<h2 class="address__tab address__tab--active"><%= link(gettext("Transactions From"), to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"]), class: "address__link address__link--active") %></h2> gettext("Overview"),
class: "address__link",
to: address_path(@conn, :show, @conn.assigns.locale, @conn.params["address_id"])
) %>
</h2>
<h2 class="address__tab">
<%= link(
gettext("Transactions To"),
class: "address__link",
to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"])
) %>
</h2>
<h2 class="address__tab address__tab--active">
<%= link(
gettext("Transactions From"),
class: "address__link address__link--active",
to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"])
) %>
</h2>
</div> </div>
<div class="transactions__container"> <div class="transactions__container">
<table class="transactions__table"> <table class="transactions__table">
<thead class="transactions__header"> <thead class="transactions__header">
<tr> <tr>
<th class="transactions__column-header transactions__column-header--status"><span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span></th> <th class="transactions__column-header transactions__column-header--status">
<span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span>
</th>
<th class="transactions__column-header"><%= gettext "Hash" %></th> <th class="transactions__column-header"><%= gettext "Hash" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th> <th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th>
<th class="transactions__column-header"><%= gettext "Age" %></th> <th class="transactions__column-header"><%= gettext "Age" %></th>
@ -25,21 +58,45 @@
<tbody> <tbody>
<%= for transaction <- @page.entries do %> <%= for transaction <- @page.entries do %>
<tr class="transactions__row"> <tr class="transactions__row">
<td class="transactions__column transactions__column--status"><div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div></td> <td class="transactions__column transactions__column--status">
<div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div>
</td>
<td class="transactions__column transactions__column--hash"> <td class="transactions__column transactions__column--hash">
<div class="transactions__hash"><%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--long-hash") %></div> <div class="transactions__hash">
<%= link(
transaction.hash,
class: "transactions__link transactions__link--truncated transactions__link--long-hash",
to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)
) %>
</div>
</td> </td>
<td class="transactions__column transactions__column--block transactions__column--optional"> <td class="transactions__column transactions__column--block transactions__column--optional">
<%= link(transaction.block.number, to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number), class: "transactions__link") %> <%= link(
transaction.block.number,
class: "transactions__link",
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number)
) %>
</td> </td>
<td class="transactions__column transactions__column--age"> <td class="transactions__column transactions__column--age">
<%= transaction.block.timestamp |> Timex.from_now %> <%= transaction.block.timestamp |> Timex.from_now %>
</td> </td>
<td class="transactions__column transactions__column--from transactions__column--optional"> <td class="transactions__column transactions__column--from transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.from_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.from_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash)
) %>
</div>
</td> </td>
<td class="transactions__column transactions__column--to transactions__column--optional"> <td class="transactions__column transactions__column--to transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.to_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.to_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash)
) %>
</div>
</td> </td>
<td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td> <td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td>
</tr> </tr>

@ -1,19 +1,51 @@
<section class="container__section block"> <section class="container__section block">
<div class="address__headline"> <div class="address__headline">
<h1 class="address__headline-title"><%= gettext("Address %{number}", number: @conn.params["address_id"]) %></h1> <h1 class="address__headline-title"><%= gettext("Address %{number}", number: @conn.params["address_id"]) %></h1>
<div class="address__pagination"><%= pagination_links @conn, @page, ["en", @conn.params["address_id"]], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("&lsaquo;"), next: Phoenix.HTML.raw("&rsaquo;"), path: &address_transaction_to_path/5 %></div> <div class="address__pagination">
<%= pagination_links(
@conn,
@page,
["en", @conn.params["address_id"]],
distance: 1,
first: true,
next: Phoenix.HTML.raw("&rsaquo;"),
path: &address_transaction_to_path/5,
previous: Phoenix.HTML.raw("&lsaquo;"),
view_style: :bulma
) %>
</div>
</div> </div>
<div class="address__container"> <div class="address__container">
<div class="address__tabs"> <div class="address__tabs">
<h2 class="address__tab"><%= link(gettext("Overview"), to: address_path(@conn, :show, @conn.assigns.locale, @conn.params["address_id"]), class: "address__link") %></h2> <h2 class="address__tab">
<h2 class="address__tab address__tab--active"><%= link(gettext("Transactions To"), to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"]), class: "address__link address__link--active") %></h2> <%= link(
<h2 class="address__tab"><%= link(gettext("Transactions From"), to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"]), class: "address__link") %></h2> gettext("Overview"),
class: "address__link",
to: address_path(@conn, :show, @conn.assigns.locale, @conn.params["address_id"])
) %>
</h2>
<h2 class="address__tab address__tab--active">
<%= link(
gettext("Transactions To"),
class: "address__link address__link--active",
to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"])
) %>
</h2>
<h2 class="address__tab">
<%= link(
gettext("Transactions From"),
class: "address__link",
to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @conn.params["address_id"])
) %>
</h2>
</div> </div>
<div class="transactions__container"> <div class="transactions__container">
<table class="transactions__table"> <table class="transactions__table">
<thead class="transactions__header"> <thead class="transactions__header">
<tr> <tr>
<th class="transactions__column-header transactions__column-header--status"><span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span></th> <th class="transactions__column-header transactions__column-header--status">
<span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span>
</th>
<th class="transactions__column-header"><%= gettext "Hash" %></th> <th class="transactions__column-header"><%= gettext "Hash" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th> <th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th>
<th class="transactions__column-header"><%= gettext "Age" %></th> <th class="transactions__column-header"><%= gettext "Age" %></th>
@ -25,23 +57,49 @@
<tbody> <tbody>
<%= for transaction <- @page.entries do %> <%= for transaction <- @page.entries do %>
<tr class="transactions__row"> <tr class="transactions__row">
<td class="transactions__column transactions__column--status"><div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div></td> <td class="transactions__column transactions__column--status">
<div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div>
</td>
<td class="transactions__column transactions__column--hash"> <td class="transactions__column transactions__column--hash">
<div class="transactions__hash"><%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--long-hash") %></div> <div class="transactions__hash">
<%= link(
transaction.hash,
class: "transactions__link transactions__link--truncated transactions__link--long-hash",
to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)
) %>
</div>
</td> </td>
<td class="transactions__column transactions__column--block transactions__column--optional"> <td class="transactions__column transactions__column--block transactions__column--optional">
<%= link(transaction.block.number, to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number), class: "transactions__link") %> <%= link(
transaction.block.number,
class: "transactions__link",
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number)
) %>
</td> </td>
<td class="transactions__column transactions__column--age"> <td class="transactions__column transactions__column--age">
<%= transaction.block.timestamp |> Timex.from_now %> <%= transaction.block.timestamp |> Timex.from_now %>
</td> </td>
<td class="transactions__column transactions__column--from transactions__column--optional"> <td class="transactions__column transactions__column--from transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.from_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.from_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash)
) %>
</div>
</td> </td>
<td class="transactions__column transactions__column--to transactions__column--optional"> <td class="transactions__column transactions__column--to transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.to_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.to_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash)
) %>
</div>
</td>
<td class="transactions__column transactions__column--value">
<%= value(transaction) %> <%= gettext "Ether" %>
</td> </td>
<td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>

@ -1,7 +1,25 @@
<section class="container__section"> <section class="container__section">
<div class="blocks__headline"> <div class="blocks__headline">
<h1 class="blocks__headline-title"><%= gettext("Showing #%{start_block} to #%{end_block}", start_block: List.first(@blocks.entries).number, end_block: List.last(@blocks.entries).number) %></h1> <h1 class="blocks__headline-title">
<div class="blocks__pagination"><%= pagination_links @conn, @blocks, ["en"], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("&lsaquo;"), next: Phoenix.HTML.raw("&rsaquo;"), path: &block_path/4 %></div> <%= gettext(
"Showing #%{start_block} to #%{end_block}",
start_block: List.first(@blocks.entries).number,
end_block: List.last(@blocks.entries).number
) %>
</h1>
<div class="blocks__pagination">
<%= pagination_links(
@conn,
@blocks,
["en"],
distance: 1,
first: true,
next: Phoenix.HTML.raw("&rsaquo;"),
path: &block_path/4,
previous: Phoenix.HTML.raw("&lsaquo;"),
view_style: :bulma
) %>
</div>
</div> </div>
<div class="blocks"> <div class="blocks">
<div class="blocks__container"> <div class="blocks__container">
@ -19,12 +37,34 @@
<tbody> <tbody>
<%= for block <- @blocks do %> <%= for block <- @blocks do %>
<tr class="blocks__row"> <tr class="blocks__row">
<td class="blocks__column blocks__column--height"><%= link(block.number, to: block_path(@conn, :show, @conn.assigns.locale, block.number), class: "blocks__link") %></td> <td class="blocks__column blocks__column--height">
<%= link(
block.number,
class: "blocks__link",
to: block_path(@conn, :show, @conn.assigns.locale, block.number)
) %>
</td>
<td class="transactions__column transactions__column--age"><%= block.timestamp |> Timex.from_now %></td> <td class="transactions__column transactions__column--age"><%= block.timestamp |> Timex.from_now %></td>
<td class="blocks__column blocks__column--transactions-count"><%= gettext("%{count} transactions", count: block.transactions |> Enum.count) %></td> <td class="blocks__column blocks__column--transactions-count">
<td class="blocks__column blocks__column--optional blocks__column--gas-used"><%= block.gas_used |> Cldr.Number.to_string! %> (<%= block.gas_used / block.gas_limit |> Cldr.Number.to_string!(format: "#.#%") %>)</td> <%= gettext("%{count} transactions", count: block.transactions |> Enum.count) %>
<td class="blocks__column blocks__column--optional blocks__column--gas-limit"><%= block.gas_limit |> Cldr.Number.to_string! %></td> </td>
<td class="blocks__column blocks__column--optional blocks__column--gas-price"><%= block.transactions |> Enum.map(fn(transaction) -> Decimal.to_float(Decimal.div(Decimal.new(transaction.gas_price), Decimal.new(1_000_000_000))) end) |> Math.Enum.mean || 0 |> Cldr.Number.to_string! %> Gwei</td> <td class="blocks__column blocks__column--optional blocks__column--gas-used">
<%= block.gas_used |> Cldr.Number.to_string! %> (<%=
block.gas_used / block.gas_limit |> Cldr.Number.to_string!(format: "#.#%")
%>)
</td>
<td class="blocks__column blocks__column--optional blocks__column--gas-limit">
<%= block.gas_limit |> Cldr.Number.to_string! %>
</td>
<td class="blocks__column blocks__column--optional blocks__column--gas-price">
<%= block.transactions
|> Enum.map(fn(transaction) ->
Decimal.to_float(Decimal.div(Decimal.new(transaction.gas_price), Decimal.new(1_000_000_000)))
end)
|> Math.Enum.mean()
|> Kernel.||(0)
|> Cldr.Number.to_string! %> Gwei
</td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>

@ -4,8 +4,20 @@
</div> </div>
<div class="block__container"> <div class="block__container">
<div class="block__tabs"> <div class="block__tabs">
<h2 class="block__tab block__tab--active"><%= link(gettext("Overview"), to: block_path(@conn, :show, @conn.assigns.locale, @block.number), class: "block__link block__link--active") %></h2> <h2 class="block__tab block__tab--active">
<h2 class="block__tab"><%= link(gettext("Transactions"), to: block_transaction_path(@conn, :index, @conn.assigns.locale, @block.number), class: "block__link") %></h2> <%= link(
gettext("Overview"),
class: "block__link block__link--active",
to: block_path(@conn, :show, @conn.assigns.locale, @block.number)
) %>
</h2>
<h2 class="block__tab">
<%= link(
gettext("Transactions"),
class: "block__link",
to: block_transaction_path(@conn, :index, @conn.assigns.locale, @block.number)
) %>
</h2>
</div> </div>
<div class="block__attributes"> <div class="block__attributes">
<div class="block__column"> <div class="block__column">
@ -20,7 +32,9 @@
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Transactions" %></dt> <dt class="block__item-key"><%= gettext "Transactions" %></dt>
<dd class="block__item-value"><%= gettext "%{count} transactions in this block", count: @block_transaction_count %></dd> <dd class="block__item-value">
<%= gettext "%{count} transactions in this block", count: @block_transaction_count %>
</dd>
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Hash" %></dt> <dt class="block__item-key"><%= gettext "Hash" %></dt>
@ -28,7 +42,12 @@
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Parent Hash" %></dt> <dt class="block__item-key"><%= gettext "Parent Hash" %></dt>
<dd class="block__item-value" title="<%= @block.parent_hash %>"><%= link(@block.parent_hash, to: block_path(@conn, :show, @conn.assigns.locale, @block.number - 1), class: "block__link") %> <dd class="block__item-value" title="<%= @block.parent_hash %>">
<%= link(
@block.parent_hash,
class: "block__link",
to: block_path(@conn, :show, @conn.assigns.locale, @block.number - 1)
) %>
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Miner" %></dt> <dt class="block__item-key"><%= gettext "Miner" %></dt>
@ -36,7 +55,9 @@
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Difficulty" %></dt> <dt class="block__item-key"><%= gettext "Difficulty" %></dt>
<dd class="block__item-value" title="<%= @block.difficulty %>"><%= @block.difficulty |> Cldr.Number.to_string! %></dd> <dd class="block__item-value" title="<%= @block.difficulty %>">
<%= @block.difficulty |> Cldr.Number.to_string! %>
</dd>
</div> </div>
</dl> </dl>
</div> </div>
@ -44,7 +65,9 @@
<dl> <dl>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Total Difficulty" %></dt> <dt class="block__item-key"><%= gettext "Total Difficulty" %></dt>
<dd class="block__item-value" title="<%= @block.total_difficulty %>"><%= @block.total_difficulty |> Cldr.Number.to_string! %></dd> <dd class="block__item-value" title="<%= @block.total_difficulty %>">
<%= @block.total_difficulty |> Cldr.Number.to_string! %>
</dd>
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Size" %></dt> <dt class="block__item-key"><%= gettext "Size" %></dt>
@ -52,7 +75,11 @@
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Gas Used" %></dt> <dt class="block__item-key"><%= gettext "Gas Used" %></dt>
<dd class="block__item-value"><%= @block.gas_used |> Cldr.Number.to_string! %> (<%= @block.gas_used / @block.gas_limit |> Cldr.Number.to_string!(format: "#.#%") %>)</dd> <dd class="block__item-value">
<%= @block.gas_used
|> Cldr.Number.to_string! %> (<%= (@block.gas_used / @block.gas_limit)
|> Cldr.Number.to_string!(format: "#.#%") %>)
</dd>
</div> </div>
<div class="block__item"> <div class="block__item">
<dt class="block__item-key"><%= gettext "Gas Limit" %></dt> <dt class="block__item-key"><%= gettext "Gas Limit" %></dt>

@ -1,18 +1,43 @@
<section class="container__section block"> <section class="container__section block">
<div class="blocks__headline"> <div class="blocks__headline">
<h1 class="blocks__headline-title"><%= gettext("Showing #%{number}", number: @conn.params["block_id"]) %></h1> <h1 class="blocks__headline-title"><%= gettext("Showing #%{number}", number: @conn.params["block_id"]) %></h1>
<div class="blocks__pagination"><%= pagination_links @conn, @page, ["en", @conn.params["block_id"]], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("&lsaquo;"), next: Phoenix.HTML.raw("&rsaquo;"), path: &block_transaction_path/5 %></div> <div class="blocks__pagination">
<%= pagination_links(
@conn,
@page,
["en", @conn.params["block_id"]],
distance: 1,
first: true,
next: Phoenix.HTML.raw("&rsaquo;"),
path: &block_transaction_path/5,
previous: Phoenix.HTML.raw("&lsaquo;"),
view_style: :bulma
) %></div>
</div> </div>
<div class="block__container"> <div class="block__container">
<div class="block__tabs"> <div class="block__tabs">
<h2 class="block__tab"><%= link(gettext("Overview"), to: block_path(@conn, :show, @conn.assigns.locale, @conn.params["block_id"]), class: "block__link") %></h2> <h2 class="block__tab">
<h2 class="block__tab block__tab--active"><%= link(gettext("Transactions"), to: block_transaction_path(@conn, :index, @conn.assigns.locale, @conn.params["block_id"]), class: "block__link block__link--active") %></h2> <%= link(
gettext("Overview"),
class: "block__link",
to: block_path(@conn, :show, @conn.assigns.locale, @conn.params["block_id"])
) %>
</h2>
<h2 class="block__tab block__tab--active">
<%= link(
gettext("Transactions"),
class: "block__link block__link--active",
to: block_transaction_path(@conn, :index, @conn.assigns.locale, @conn.params["block_id"])
) %>
</h2>
</div> </div>
<div class="transactions__container"> <div class="transactions__container">
<table class="transactions__table"> <table class="transactions__table">
<thead class="transactions__header"> <thead class="transactions__header">
<tr> <tr>
<th class="transactions__column-header transactions__column-header--status"><span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span></th> <th class="transactions__column-header transactions__column-header--status">
<span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span>
</th>
<th class="transactions__column-header"><%= gettext "Hash" %></th> <th class="transactions__column-header"><%= gettext "Hash" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th> <th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th>
<th class="transactions__column-header"><%= gettext "Age" %></th> <th class="transactions__column-header"><%= gettext "Age" %></th>
@ -24,23 +49,46 @@
<tbody> <tbody>
<%= for transaction <- @page.entries do %> <%= for transaction <- @page.entries do %>
<tr class="transactions__row"> <tr class="transactions__row">
<td class="transactions__column transactions__column--status"><div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div></td> <td class="transactions__column transactions__column--status">
<div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div>
</td>
<td class="transactions__column transactions__column--hash"> <td class="transactions__column transactions__column--hash">
<div class="transactions__hash"><%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--long-hash") %></div> <div class="transactions__hash">
<%= link(
transaction.hash,
class: "transactions__link transactions__link--truncated transactions__link--long-hash",
to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)
) %></div>
</td> </td>
<td class="transactions__column transactions__column--block transactions__column--optional"> <td class="transactions__column transactions__column--block transactions__column--optional">
<%= link(transaction.block.number, to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number), class: "transactions__link") %> <%= link(
transaction.block.number,
class: "transactions__link",
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number)
) %>
</td> </td>
<td class="transactions__column transactions__column--age"> <td class="transactions__column transactions__column--age">
<%= transaction.block.timestamp |> Timex.from_now %> <%= transaction.block.timestamp |> Timex.from_now %>
</td> </td>
<td class="transactions__column transactions__column--from transactions__column--optional"> <td class="transactions__column transactions__column--from transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.from_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.from_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash)
) %></div>
</td> </td>
<td class="transactions__column transactions__column--to transactions__column--optional"> <td class="transactions__column transactions__column--to transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.to_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.to_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash)
) %></div>
</td>
<td class="transactions__column transactions__column--value">
<%= value(transaction) %> <%= gettext "Ether" %>
</td> </td>
<td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>

@ -36,12 +36,16 @@
<div class="chain__container chain__container--secondary"> <div class="chain__container chain__container--secondary">
<img class="chain__image" src="<%= static_path(@conn, "/images/average_time.svg") %>" /> <img class="chain__image" src="<%= static_path(@conn, "/images/average_time.svg") %>" />
<div class="chain__title"><%= gettext("Average Block Time") %></div> <div class="chain__title"><%= gettext("Average Block Time") %></div>
<div class="chain__title chain__title--data"><%= @chain.average_time |> Timex.format_duration(:humanized) %></div> <div class="chain__title chain__title--data">
<%= @chain.average_time |> Timex.format_duration(:humanized) %>
</div>
</div> </div>
<div class="chain__container"> <div class="chain__container">
<img class="chain__image" src="<%= static_path(@conn, "/images/transactions.svg") %>" /> <img class="chain__image" src="<%= static_path(@conn, "/images/transactions.svg") %>" />
<div class="chain__title"><%= gettext("Transactions") %></div> <div class="chain__title"><%= gettext("Transactions") %></div>
<div class="chain__title chain__title--data"><%= gettext("%{count} per day", count: Cldr.Number.to_string!(@chain.transaction_count)) %></div> <div class="chain__title chain__title--data">
<%= gettext("%{count} per day", count: Cldr.Number.to_string!(@chain.transaction_count)) %>
</div>
</div> </div>
</div> </div>
</section> </section>
@ -66,9 +70,17 @@
<tbody> <tbody>
<%= for block <- @chain.blocks do %> <%= for block <- @chain.blocks do %>
<tr class="blocks__row"> <tr class="blocks__row">
<td class="blocks__column blocks__column--height"><%= link(block.number, to: block_path(@conn, :show, @conn.assigns.locale, block.number), class: "blocks__link") %></td> <td class="blocks__column blocks__column--height">
<%= link(
block.number,
class: "blocks__link",
to: block_path(@conn, :show, @conn.assigns.locale, block.number)
) %>
</td>
<td class="blocks__column blocks__column--age"><%= block.timestamp |> Timex.from_now %></td> <td class="blocks__column blocks__column--age"><%= block.timestamp |> Timex.from_now %></td>
<td class="blocks__column blocks__column--transactions-count"><%= block.transactions |> Enum.count %></td> <td class="blocks__column blocks__column--transactions-count">
<%= block.transactions |> Enum.count %>
</td>
<td class="blocks__column blocks__column--gas-used"><%= block.gas_used |> Cldr.Number.to_string! %></td> <td class="blocks__column blocks__column--gas-used"><%= block.gas_used |> Cldr.Number.to_string! %></td>
</tr> </tr>
<% end %> <% end %>
@ -95,12 +107,26 @@
<tr class="transactions__row"> <tr class="transactions__row">
<td class="transactions__column transactions__column--hash"> <td class="transactions__column transactions__column--hash">
<div class="transactions__hash-container" title="<%= transaction.hash %>"> <div class="transactions__hash-container" title="<%= transaction.hash %>">
<%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %> <%= link(
transaction.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)
) %>
</div> </div>
</td> </td>
<td class="transactions__column transactions__column--block"><%= link(transaction.block.number, to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number), class: "transactions__link") %></td> <td class="transactions__column transactions__column--block">
<td class="transactions__column transactions__column--age transactions__column--optional"><%= transaction.block.timestamp |> Timex.from_now() %></td> <%= link(
<td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td> transaction.block.number,
class: "transactions__link",
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number)
) %>
</td>
<td class="transactions__column transactions__column--age transactions__column--optional">
<%= transaction.block.timestamp |> Timex.from_now() %>
</td>
<td class="transactions__column transactions__column--value">
<%= value(transaction) %> <%= gettext "Ether" %>
</td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>

@ -7,10 +7,19 @@
</a> </a>
</td> </td>
<td class="header__cell header__cell--search"> <td class="header__cell header__cell--search">
<%= form_for @conn, chain_path(@conn, :search, Gettext.get_locale), [class: "header__cell--search-form", method: :get, enforce_utf8: false], fn f -> %> <%= form_for(
@conn,
chain_path(@conn, :search, Gettext.get_locale),
[class: "header__cell--search-form", method: :get, enforce_utf8: false],
fn f -> %>
<%= img_tag :svg, src: static_path(@conn, "/images/mgi.svg"), class: "header__cell--search-glass" %> <%= img_tag :svg, src: static_path(@conn, "/images/mgi.svg"), class: "header__cell--search-glass" %>
<%= search_input f, :q, class: 'header__cell--search-input', placeholder: gettext "Search by address, transaction hash, or block number" %> <%= search_input(
<% end %> f,
:q,
class: 'header__cell--search-input',
placeholder: gettext("Search by address, transaction hash, or block number")
) %>
<% end) %>
</td> </td>
<td class="header__cell header__cell--links" align="right"> <td class="header__cell header__cell--links" align="right">
<a href="<%= block_path(@conn, :index, Gettext.get_locale) %>" class="header__link"> <a href="<%= block_path(@conn, :index, Gettext.get_locale) %>" class="header__link">

@ -1,18 +1,36 @@
<section class="container__section"> <section class="container__section">
<section class="container__subsection"> <section class="container__subsection">
<div class="transactions__headline"> <div class="transactions__headline">
<h1 class="transactions__headline-title"><%= gettext("Showing %{count} Pending Transactions", count: @transaction_count) %></h1> <h1 class="transactions__headline-title">
<%= gettext("Showing %{count} Pending Transactions", count: @transaction_count) %>
</h1>
</div> </div>
<div class="transactions"> <div class="transactions">
<div class="transactions__tabs"> <div class="transactions__tabs">
<h2 class="transactions__tab"><%= link(gettext("Transactions"), to: transaction_path(@conn, :index, @conn.assigns.locale), class: "transactions__tab-link") %></h2> <h2 class="transactions__tab">
<h2 class="transactions__tab transactions__tab--active"><%= link(gettext("Pending"), to: pending_transaction_path(@conn, :index, @conn.assigns.locale), class: "transactions__tab-link transactions__tab-link--active") %></h2> <%= link(
gettext("Transactions"),
class: "transactions__tab-link",
to: transaction_path(@conn, :index, @conn.assigns.locale)
) %>
</h2>
<h2 class="transactions__tab transactions__tab--active">
<%= link(
gettext("Pending"),
class: "transactions__tab-link transactions__tab-link--active",
to: pending_transaction_path(@conn, :index, @conn.assigns.locale)
) %>
</h2>
</div> </div>
<div class="transactions__container"> <div class="transactions__container">
<table class="transactions__table"> <table class="transactions__table">
<thead class="transactions__header"> <thead class="transactions__header">
<tr> <tr>
<th class="transactions__column-header transactions__column-header--status"><span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span></th> <th class="transactions__column-header transactions__column-header--status">
<span class="transactions__column-title transactions__column-title--status">
<%= gettext "Status" %>
</span>
</th>
<th class="transactions__column-header"><%= gettext "Hash" %></th> <th class="transactions__column-header"><%= gettext "Hash" %></th>
<th class="transactions__column-header"><%= gettext "Last Seen" %></th> <th class="transactions__column-header"><%= gettext "Last Seen" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "From" %></th> <th class="transactions__column-header transactions__column-header--optional"><%= gettext "From" %></th>
@ -23,15 +41,25 @@
<tbody> <tbody>
<%= for transaction <- @transactions do %> <%= for transaction <- @transactions do %>
<tr class="transactions__row"> <tr class="transactions__row">
<td class="transactions__column transactions__column--status"><div class="transactions__dot transactions__dot--pending"></div></td> <td class="transactions__column transactions__column--status">
<div class="transactions__dot transactions__dot--pending"></div>
</td>
<td class="transactions__column transactions__column--hash"> <td class="transactions__column transactions__column--hash">
<%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--long-hash") %> <%= link(
transaction.hash,
class: "transactions__link transactions__link--truncated transactions__link--long-hash",
to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)
) %>
</td> </td>
<td class="transactions__column transactions__column--last-seen"><%= last_seen(transaction) %></td> <td class="transactions__column transactions__column--last-seen"><%= last_seen(transaction) %></td>
<td class="transactions__column transactions__column--optional transactions__column--from-address"> <td class="transactions__column transactions__column--optional transactions__column--from-address">
<% to_address_hash = to_address_hash(transaction) %> <% to_address_hash = to_address_hash(transaction) %>
<%= if to_address_hash do %> <%= if to_address_hash do %>
<%= link(to_address_hash, to: address_path(@conn, :show, @conn.assigns.locale, to_address_hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %> <%= link(
to_address_hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, to_address_hash)
) %>
<% else %> <% else %>
<%= gettext "Pending" %> <%= gettext "Pending" %>
<% end %> <% end %>
@ -39,17 +67,32 @@
<td class="transactions__column transactions__column--optional transactions__column--to-address"> <td class="transactions__column transactions__column--optional transactions__column--to-address">
<% from_address_hash = from_address_hash(transaction) %> <% from_address_hash = from_address_hash(transaction) %>
<%= if from_address_hash do %> <%= if from_address_hash do %>
<%= link(from_address_hash, to: address_path(@conn, :show, @conn.assigns.locale, from_address_hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %> <%= link(
from_address_hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, from_address_hash)
) %>
<% else %> <% else %>
<%= gettext "Pending" %> <%= gettext "Pending" %>
<% end %> <% end %>
</td> </td>
<td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td> <td class="transactions__column transactions__column--value">
<%= value(transaction) %> <%= gettext "Ether" %>
</td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
<%= link(gettext("Next Page"), to: pending_transaction_path(@conn, :index, @conn.assigns.locale, %{"last_seen" => @last_seen_transaction_id}), class: "transactions__link transactions__link--next-page") %> <%= link(
gettext("Next Page"),
class: "transactions__link transactions__link--next-page",
to: pending_transaction_path(
@conn,
:index,
@conn.assigns.locale,
%{"last_seen" => @last_seen_transaction_id}
)
) %>
</div> </div>
</div> </div>
</section> </section>

@ -1,18 +1,36 @@
<section class="container__section"> <section class="container__section">
<section class="container__subsection"> <section class="container__subsection">
<div class="transactions__headline"> <div class="transactions__headline">
<h1 class="transactions__headline-title"><%= gettext("Showing %{count} Transactions", count: @transactions.total_entries) %></h1> <h1 class="transactions__headline-title">
<%= gettext("Showing %{count} Transactions", count: @transactions.total_entries) %>
</h1>
</div> </div>
<div class="transactions"> <div class="transactions">
<div class="transactions__tabs"> <div class="transactions__tabs">
<h2 class="transactions__tab transactions__tab--active"><%= link(gettext("Transactions"), to: transaction_path(@conn, :index, @conn.assigns.locale), class: "transactions__tab-link transactions__tab-link--active") %></h2> <h2 class="transactions__tab transactions__tab--active">
<h2 class="transactions__tab"><%= link(gettext("Pending"), to: pending_transaction_path(@conn, :index, @conn.assigns.locale), class: "transactions__tab-link") %></h2> <%= link(
gettext("Transactions"),
class: "transactions__tab-link transactions__tab-link--active",
to: transaction_path(@conn, :index, @conn.assigns.locale)
) %>
</h2>
<h2 class="transactions__tab">
<%= link(
gettext("Pending"),
class: "transactions__tab-link",
to: pending_transaction_path(@conn, :index, @conn.assigns.locale)
) %>
</h2>
</div> </div>
<div class="transactions__container"> <div class="transactions__container">
<table class="transactions__table"> <table class="transactions__table">
<thead class="transactions__header"> <thead class="transactions__header">
<tr> <tr>
<th class="transactions__column-header transactions__column-header--status"><span class="transactions__column-title transactions__column-title--status"><%= gettext "Status" %></span></th> <th class="transactions__column-header transactions__column-header--status">
<span class="transactions__column-title transactions__column-title--status">
<%= gettext "Status" %>
</span>
</th>
<th class="transactions__column-header"><%= gettext "Hash" %></th> <th class="transactions__column-header"><%= gettext "Hash" %></th>
<th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th> <th class="transactions__column-header transactions__column-header--optional"><%= gettext "Block" %></th>
<th class="transactions__column-header"><%= gettext "Age" %></th> <th class="transactions__column-header"><%= gettext "Age" %></th>
@ -24,28 +42,56 @@
<tbody> <tbody>
<%= for transaction <- @transactions.entries do %> <%= for transaction <- @transactions.entries do %>
<tr class="transactions__row"> <tr class="transactions__row">
<td class="transactions__column transactions__column--status"><div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div></td> <td class="transactions__column transactions__column--status">
<div class="transactions__dot transactions__dot--<%= status(transaction) %>"></div>
</td>
<td class="transactions__column transactions__column--hash"> <td class="transactions__column transactions__column--hash">
<div class="transactions__hash"><%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--long-hash") %></div> <div class="transactions__hash">
<%= link(
transaction.hash,
class: "transactions__link transactions__link--truncated transactions__link--long-hash",
to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)
) %>
</div>
</td> </td>
<td class="transactions__column transactions__column--block transactions__column--optional"> <td class="transactions__column transactions__column--block transactions__column--optional">
<%= link(transaction.block.number, to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number), class: "transactions__link") %> <%= link(
transaction.block.number,
class: "transactions__link",
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number)
) %>
</td> </td>
<td class="transactions__column transactions__column--age"> <td class="transactions__column transactions__column--age">
<%= transaction.block.timestamp |> Timex.from_now %> <%= transaction.block.timestamp |> Timex.from_now %>
</td> </td>
<td class="transactions__column transactions__column--from transactions__column--optional"> <td class="transactions__column transactions__column--from transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.from_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.from_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash)
) %></div>
</td> </td>
<td class="transactions__column transactions__column--to transactions__column--optional"> <td class="transactions__column transactions__column--to transactions__column--optional">
<div class="transactions__hash"><%= link(transaction.to_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash), class: "transactions__link transactions__link--truncated transactions__link--hash") %></div> <div class="transactions__hash">
<%= link(
transaction.to_address.hash,
class: "transactions__link transactions__link--truncated transactions__link--hash",
to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash)
) %></div>
</td>
<td class="transactions__column transactions__column--value">
<%= value(transaction) %> <%= gettext "Ether" %>
</td> </td>
<td class="transactions__column transactions__column--value"><%= value(transaction) %> <%= gettext "Ether" %></td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
<%= link(gettext("Next Page"), to: transaction_path(@conn, :index, @conn.assigns.locale, %{"last_seen" => @transactions.last_seen}), class: "transactions__link transactions__link--next-page") %> <%= link(
gettext("Next Page"),
class: "transactions__link transactions__link--next-page",
to: transaction_path(@conn, :index, @conn.assigns.locale, %{"last_seen" => @transactions.last_seen})
) %>
</div> </div>
</div> </div>
</section> </section>

@ -21,7 +21,11 @@
<span class="transaction__item--primary"> <span class="transaction__item--primary">
<% block = @transaction.block %> <% block = @transaction.block %>
<%= if block do %> <%= if block do %>
<%= link(block.number, to: block_path(@conn, :show, @conn.assigns.locale, block.number), class: "transaction__link") %> <%= link(
block.number,
class: "transaction__link",
to: block_path(@conn, :show, @conn.assigns.locale, block.number)
) %>
<% end %> <% end %>
</span> </span>
<span class="transaction__item--secondary"> <span class="transaction__item--secondary">
@ -31,7 +35,9 @@
</div> </div>
<div class="transaction__item"> <div class="transaction__item">
<dt class="transaction__item-key"><%= gettext "Age" %></dt> <dt class="transaction__item-key"><%= gettext "Age" %></dt>
<dd class="transaction__item-value" title="<%= formatted_timestamp(@transaction) %>"><%= formatted_age(@transaction) %></dd> <dd class="transaction__item-value" title="<%= formatted_timestamp(@transaction) %>">
<%= formatted_age(@transaction) %>
</dd>
</div> </div>
<div class="transaction__item"> <div class="transaction__item">
<dt class="transaction__item-key"><%= gettext "Value" %></dt> <dt class="transaction__item-key"><%= gettext "Value" %></dt>
@ -41,7 +47,11 @@
<dt class="transaction__item-key"><%= gettext "From" %></dt> <dt class="transaction__item-key"><%= gettext "From" %></dt>
<dd class="transaction__item-value"> <dd class="transaction__item-value">
<%= if @transaction.from_address do %> <%= if @transaction.from_address do %>
<%= link(@transaction.from_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, @transaction.from_address.hash), class: "transaction__link") %> <%= link(
@transaction.from_address.hash,
class: "transaction__link",
to: address_path(@conn, :show, @conn.assigns.locale, @transaction.from_address.hash)
) %>
<% else %> <% else %>
<%= gettext "Pending" %> <%= gettext "Pending" %>
<% end %> <% end %>
@ -51,7 +61,11 @@
<dt class="transaction__item-key"><%= gettext "To" %></dt> <dt class="transaction__item-key"><%= gettext "To" %></dt>
<dd class="transaction__item-value"> <dd class="transaction__item-value">
<%= if @transaction.to_address do %> <%= if @transaction.to_address do %>
<%= link(@transaction.to_address.hash, to: address_path(@conn, :show, @conn.assigns.locale, @transaction.to_address.hash), class: "transaction__link") %> <%= link(
@transaction.to_address.hash,
class: "transaction__link",
to: address_path(@conn, :show, @conn.assigns.locale, @transaction.to_address.hash)
) %>
<% else %> <% else %>
<%= gettext "Pending" %> <%= gettext "Pending" %>
<% end %> <% end %>
@ -81,7 +95,10 @@
</div> </div>
<div class="transaction__item"> <div class="transaction__item">
<dt class="transaction__item-key"><%= gettext "Gas Price" %></dt> <dt class="transaction__item-key"><%= gettext "Gas Price" %></dt>
<dd class="transaction__item-value"><%= gas_price(@transaction, :wei) %> <%= gettext("Wei") %> (<%= gas_price(@transaction, :gwei) %> <%= gettext "Gwei" %>)</dd> <dd class="transaction__item-value">
<%= gas_price(@transaction, :wei) %> <%= gettext("Wei") %>
(<%= gas_price(@transaction, :gwei) %> <%= gettext "Gwei" %>)
</dd>
</div> </div>
<div class="transaction__item"> <div class="transaction__item">
<dt class="transaction__item-key"><%= gettext "Cumulative Gas Used" %></dt> <dt class="transaction__item-key"><%= gettext "Cumulative Gas Used" %></dt>

@ -3,8 +3,20 @@
<div class="transaction__container"> <div class="transaction__container">
<div class="transaction__tabs"> <div class="transaction__tabs">
<h2 class="transaction__tab transaction__tab--active"><%= link(gettext("Internal Transactions"), to: transaction_path(@conn, :show, @conn.assigns.locale, @transaction.hash), class: "transaction__link transaction__link--active") %></h2> <h2 class="transaction__tab transaction__tab--active">
<h2 class="transaction__tab"><%= link(gettext("Logs"), to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction.hash), class: "transaction__link") %></h2> <%= link(
gettext("Internal Transactions"),
class: "transaction__link transaction__link--active",
to: transaction_path(@conn, :show, @conn.assigns.locale, @transaction.hash)
) %>
</h2>
<h2 class="transaction__tab">
<%= link(
gettext("Logs"),
class: "transaction__link",
to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction.hash)
) %>
</h2>
</div> </div>
<div class="internal-transaction__container"> <div class="internal-transaction__container">
<%= if length(@internal_transactions) > 0 do %> <%= if length(@internal_transactions) > 0 do %>

@ -3,8 +3,20 @@
<div class="transaction-log"> <div class="transaction-log">
<div class="transaction-log__tabs"> <div class="transaction-log__tabs">
<h2 class="transaction__tab"><%= link(gettext("Internal Transactions"), to: transaction_path(@conn, :show, @conn.assigns.locale, @transaction.hash), class: "transaction__link") %></h2> <h2 class="transaction__tab">
<h2 class="transaction__tab transaction__tab--active"><%= link(gettext("Logs"), to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction.hash), class: "transaction__link transaction__link--active") %></h2> <%= link(
gettext("Internal Transactions"),
class: "transaction__link",
to: transaction_path(@conn, :show, @conn.assigns.locale, @transaction.hash)
) %>
</h2>
<h2 class="transaction__tab transaction__tab--active">
<%= link(
gettext("Logs"),
class: "transaction__link transaction__link--active",
to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction.hash)
) %>
</h2>
</div> </div>
<div class="transaction-log__container"> <div class="transaction-log__container">
@ -17,7 +29,13 @@
<%= for log <- @logs.entries do %> <%= for log <- @logs.entries do %>
<tgroup> <tgroup>
<tr> <tr>
<td><%= link(log.address.hash, to: address_path(@conn, :show, @conn.assigns.locale, log.address.hash), class: "transaction-log__link") %></td> <td>
<%= link(
log.address.hash,
class: "transaction-log__link",
to: address_path(@conn, :show, @conn.assigns.locale, log.address.hash)
) %>
</td>
<td><%= log.first_topic %></td> <td><%= log.first_topic %></td>
</tr> </tr>
<% unless is_nil(log.second_topic) do %> <% unless is_nil(log.second_topic) do %>

@ -1,25 +1,25 @@
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:19 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:52
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:19 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:51
#: lib/explorer_web/templates/block/index.html.eex:12 #: lib/explorer_web/templates/block/index.html.eex:30
#: lib/explorer_web/templates/block_transaction/index.html.eex:18 #: lib/explorer_web/templates/block_transaction/index.html.eex:43
#: lib/explorer_web/templates/chain/show.html.eex:61 #: lib/explorer_web/templates/chain/show.html.eex:65
#: lib/explorer_web/templates/chain/show.html.eex:89 #: lib/explorer_web/templates/chain/show.html.eex:101
#: lib/explorer_web/templates/transaction/index.html.eex:18 #: lib/explorer_web/templates/transaction/index.html.eex:36
#: lib/explorer_web/templates/transaction/overview.html.eex:33 #: lib/explorer_web/templates/transaction/overview.html.eex:37
msgid "Age" msgid "Age"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:18 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:51
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:18 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:50
#: lib/explorer_web/templates/block_transaction/index.html.eex:17 #: lib/explorer_web/templates/block_transaction/index.html.eex:42
#: lib/explorer_web/templates/chain/show.html.eex:28 #: lib/explorer_web/templates/chain/show.html.eex:28
#: lib/explorer_web/templates/chain/show.html.eex:88 #: lib/explorer_web/templates/chain/show.html.eex:100
#: lib/explorer_web/templates/transaction/index.html.eex:17 #: lib/explorer_web/templates/transaction/index.html.eex:35
msgid "Block" msgid "Block"
msgstr "" msgstr ""
#: lib/explorer_web/templates/chain/show.html.eex:54 #: lib/explorer_web/templates/chain/show.html.eex:58
#: lib/explorer_web/templates/layout/_header.html.eex:18 #: lib/explorer_web/templates/layout/_header.html.eex:27
msgid "Blocks" msgid "Blocks"
msgstr "" msgstr ""
@ -27,24 +27,24 @@ msgstr ""
msgid "Copyright %{year} POA" msgid "Copyright %{year} POA"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:14 #: lib/explorer_web/templates/block/index.html.eex:32
#: lib/explorer_web/templates/block/show.html.eex:54 #: lib/explorer_web/templates/block/show.html.eex:77
#: lib/explorer_web/templates/chain/show.html.eex:63 #: lib/explorer_web/templates/chain/show.html.eex:67
msgid "Gas Used" msgid "Gas Used"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:17 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:50
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:17 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:49
#: lib/explorer_web/templates/block/show.html.eex:26 #: lib/explorer_web/templates/block/show.html.eex:40
#: lib/explorer_web/templates/block_transaction/index.html.eex:16 #: lib/explorer_web/templates/block_transaction/index.html.eex:41
#: lib/explorer_web/templates/chain/show.html.eex:87 #: lib/explorer_web/templates/chain/show.html.eex:99
#: lib/explorer_web/templates/pending_transaction/index.html.eex:16 #: lib/explorer_web/templates/pending_transaction/index.html.eex:34
#: lib/explorer_web/templates/transaction/index.html.eex:16 #: lib/explorer_web/templates/transaction/index.html.eex:34
msgid "Hash" msgid "Hash"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:11 #: lib/explorer_web/templates/block/index.html.eex:29
#: lib/explorer_web/templates/chain/show.html.eex:60 #: lib/explorer_web/templates/chain/show.html.eex:64
msgid "Height" msgid "Height"
msgstr "" msgstr ""
@ -53,26 +53,26 @@ msgstr ""
msgid "POA Network Explorer" msgid "POA Network Explorer"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:13 #: lib/explorer_web/templates/block/index.html.eex:31
#: lib/explorer_web/templates/block/show.html.eex:8 #: lib/explorer_web/templates/block/show.html.eex:16
#: lib/explorer_web/templates/block/show.html.eex:22 #: lib/explorer_web/templates/block/show.html.eex:34
#: lib/explorer_web/templates/block_transaction/index.html.eex:9 #: lib/explorer_web/templates/block_transaction/index.html.eex:28
#: lib/explorer_web/templates/chain/show.html.eex:43 #: lib/explorer_web/templates/chain/show.html.eex:45
#: lib/explorer_web/templates/chain/show.html.eex:62 #: lib/explorer_web/templates/chain/show.html.eex:66
#: lib/explorer_web/templates/chain/show.html.eex:81 #: lib/explorer_web/templates/chain/show.html.eex:93
#: lib/explorer_web/templates/pending_transaction/index.html.eex:8 #: lib/explorer_web/templates/pending_transaction/index.html.eex:12
#: lib/explorer_web/templates/transaction/index.html.eex:8 #: lib/explorer_web/templates/transaction/index.html.eex:12
msgid "Transactions" msgid "Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:22 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:55
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:22 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:54
#: lib/explorer_web/templates/block_transaction/index.html.eex:21 #: lib/explorer_web/templates/block_transaction/index.html.eex:46
#: lib/explorer_web/templates/chain/show.html.eex:90 #: lib/explorer_web/templates/chain/show.html.eex:102
#: lib/explorer_web/templates/pending_transaction/index.html.eex:20 #: lib/explorer_web/templates/pending_transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/index.html.eex:21 #: lib/explorer_web/templates/transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/overview.html.eex:37 #: lib/explorer_web/templates/transaction/overview.html.eex:43
#: lib/explorer_web/templates/transaction/show.html.eex:16 #: lib/explorer_web/templates/transaction/show.html.eex:28
msgid "Value" msgid "Value"
msgstr "" msgstr ""
@ -80,43 +80,43 @@ msgstr ""
msgid "Block #%{number} Details" msgid "Block #%{number} Details"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:38 #: lib/explorer_web/templates/block/show.html.eex:57
msgid "Difficulty" msgid "Difficulty"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:15 #: lib/explorer_web/templates/block/index.html.eex:33
#: lib/explorer_web/templates/block/show.html.eex:58 #: lib/explorer_web/templates/block/show.html.eex:85
#: lib/explorer_web/templates/transaction/overview.html.eex:79 #: lib/explorer_web/templates/transaction/overview.html.eex:93
#: lib/explorer_web/templates/transaction/show.html.eex:17 #: lib/explorer_web/templates/transaction/show.html.eex:29
msgid "Gas Limit" msgid "Gas Limit"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:34 #: lib/explorer_web/templates/block/show.html.eex:53
msgid "Miner" msgid "Miner"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:62 #: lib/explorer_web/templates/block/show.html.eex:89
#: lib/explorer_web/templates/transaction/overview.html.eex:61 #: lib/explorer_web/templates/transaction/overview.html.eex:75
msgid "Nonce" msgid "Nonce"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:14 #: lib/explorer_web/templates/block/show.html.eex:26
msgid "Number" msgid "Number"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:30 #: lib/explorer_web/templates/block/show.html.eex:44
msgid "Parent Hash" msgid "Parent Hash"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:50 #: lib/explorer_web/templates/block/show.html.eex:73
msgid "Size" msgid "Size"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:18 #: lib/explorer_web/templates/block/show.html.eex:30
msgid "Timestamp" msgid "Timestamp"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:46 #: lib/explorer_web/templates/block/show.html.eex:67
msgid "Total Difficulty" msgid "Total Difficulty"
msgstr "" msgstr ""
@ -128,54 +128,54 @@ msgstr ""
msgid "Transaction Details" msgid "Transaction Details"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:87 #: lib/explorer_web/templates/transaction/overview.html.eex:104
msgid "Cumulative Gas Used" msgid "Cumulative Gas Used"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:14 #: lib/explorer_web/templates/block/index.html.eex:32
#: lib/explorer_web/templates/block/index.html.eex:15 #: lib/explorer_web/templates/block/index.html.eex:33
#: lib/explorer_web/templates/transaction/overview.html.eex:80 #: lib/explorer_web/templates/transaction/overview.html.eex:94
#: lib/explorer_web/templates/transaction/show.html.eex:17 #: lib/explorer_web/templates/transaction/show.html.eex:29
msgid "Gas" msgid "Gas"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:16 #: lib/explorer_web/templates/block/index.html.eex:34
#: lib/explorer_web/templates/transaction/overview.html.eex:83 #: lib/explorer_web/templates/transaction/overview.html.eex:97
msgid "Gas Price" msgid "Gas Price"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:91 #: lib/explorer_web/templates/transaction/overview.html.eex:108
msgid "Input" msgid "Input"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:28 #: lib/explorer_web/templates/transaction/overview.html.eex:32
msgid "%{confirmations} block confirmations" msgid "%{confirmations} block confirmations"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/show.html.eex:23 #: lib/explorer_web/templates/block/show.html.eex:36
msgid "%{count} transactions in this block" msgid "%{count} transactions in this block"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:3 #: lib/explorer_web/templates/address/show.html.eex:3
#: lib/explorer_web/templates/transaction_log/index.html.eex:14 #: lib/explorer_web/templates/transaction_log/index.html.eex:26
msgid "Address" msgid "Address"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:20 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:53
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:20 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:52
#: lib/explorer_web/templates/block_transaction/index.html.eex:19 #: lib/explorer_web/templates/block_transaction/index.html.eex:44
#: lib/explorer_web/templates/pending_transaction/index.html.eex:18 #: lib/explorer_web/templates/pending_transaction/index.html.eex:36
#: lib/explorer_web/templates/transaction/index.html.eex:19 #: lib/explorer_web/templates/transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/overview.html.eex:41 #: lib/explorer_web/templates/transaction/overview.html.eex:47
#: lib/explorer_web/templates/transaction/show.html.eex:14 #: lib/explorer_web/templates/transaction/show.html.eex:26
msgid "From" msgid "From"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:8 #: lib/explorer_web/templates/address/show.html.eex:10
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:8 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:23
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:8 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:22
#: lib/explorer_web/templates/block/show.html.eex:7 #: lib/explorer_web/templates/block/show.html.eex:9
#: lib/explorer_web/templates/block_transaction/index.html.eex:8 #: lib/explorer_web/templates/block_transaction/index.html.eex:21
msgid "Overview" msgid "Overview"
msgstr "" msgstr ""
@ -183,13 +183,13 @@ msgstr ""
msgid "Success" msgid "Success"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:21 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:54
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:21 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:53
#: lib/explorer_web/templates/block_transaction/index.html.eex:20 #: lib/explorer_web/templates/block_transaction/index.html.eex:45
#: lib/explorer_web/templates/pending_transaction/index.html.eex:19 #: lib/explorer_web/templates/pending_transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/index.html.eex:20 #: lib/explorer_web/templates/transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/overview.html.eex:51 #: lib/explorer_web/templates/transaction/overview.html.eex:61
#: lib/explorer_web/templates/transaction/show.html.eex:15 #: lib/explorer_web/templates/transaction/show.html.eex:27
msgid "To" msgid "To"
msgstr "" msgstr ""
@ -202,7 +202,7 @@ msgstr ""
msgid "Transaction Status" msgid "Transaction Status"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:15 #: lib/explorer_web/templates/address/show.html.eex:29
msgid "Balance" msgid "Balance"
msgstr "" msgstr ""
@ -216,24 +216,24 @@ msgstr ""
msgid "POA" msgid "POA"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:24 #: lib/explorer_web/templates/block/index.html.eex:49
msgid "%{count} transactions" msgid "%{count} transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:3 #: lib/explorer_web/templates/block/index.html.eex:4
msgid "Showing #%{start_block} to #%{end_block}" msgid "Showing #%{start_block} to #%{end_block}"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/index.html.eex:4 #: lib/explorer_web/templates/transaction/index.html.eex:5
msgid "Showing %{count} Transactions" msgid "Showing %{count} Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:9 #: lib/explorer_web/templates/pending_transaction/index.html.eex:19
#: lib/explorer_web/templates/pending_transaction/index.html.eex:36 #: lib/explorer_web/templates/pending_transaction/index.html.eex:64
#: lib/explorer_web/templates/pending_transaction/index.html.eex:44 #: lib/explorer_web/templates/pending_transaction/index.html.eex:76
#: lib/explorer_web/templates/transaction/index.html.eex:9 #: lib/explorer_web/templates/transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/overview.html.eex:46
#: lib/explorer_web/templates/transaction/overview.html.eex:56 #: lib/explorer_web/templates/transaction/overview.html.eex:56
#: lib/explorer_web/templates/transaction/overview.html.eex:70
#: lib/explorer_web/views/transaction_view.ex:20 #: lib/explorer_web/views/transaction_view.ex:20
#: lib/explorer_web/views/transaction_view.ex:35 #: lib/explorer_web/views/transaction_view.ex:35
#: lib/explorer_web/views/transaction_view.ex:42 #: lib/explorer_web/views/transaction_view.ex:42
@ -241,25 +241,25 @@ msgstr ""
msgid "Pending" msgid "Pending"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:69 #: lib/explorer_web/templates/transaction/overview.html.eex:83
msgid "First Seen" msgid "First Seen"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:17 #: lib/explorer_web/templates/pending_transaction/index.html.eex:35
#: lib/explorer_web/templates/transaction/overview.html.eex:74 #: lib/explorer_web/templates/transaction/overview.html.eex:88
msgid "Last Seen" msgid "Last Seen"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:7 #: lib/explorer_web/templates/transaction/show.html.eex:15
#: lib/explorer_web/templates/transaction_log/index.html.eex:7 #: lib/explorer_web/templates/transaction_log/index.html.eex:15
msgid "Logs" msgid "Logs"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:4 #: lib/explorer_web/templates/pending_transaction/index.html.eex:5
msgid "Showing %{count} Pending Transactions" msgid "Showing %{count} Pending Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction_log/index.html.eex:15 #: lib/explorer_web/templates/transaction_log/index.html.eex:27
msgid "Topic" msgid "Topic"
msgstr "" msgstr ""
@ -267,7 +267,7 @@ msgstr ""
msgid "Transaction Logs" msgid "Transaction Logs"
msgstr "" msgstr ""
#: lib/explorer_web/templates/chain/show.html.eex:44 #: lib/explorer_web/templates/chain/show.html.eex:47
msgid "%{count} per day" msgid "%{count} per day"
msgstr "" msgstr ""
@ -295,8 +295,8 @@ msgstr ""
msgid "TPM" msgid "TPM"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:52 #: lib/explorer_web/templates/pending_transaction/index.html.eex:87
#: lib/explorer_web/templates/transaction/index.html.eex:48 #: lib/explorer_web/templates/transaction/index.html.eex:91
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
@ -308,11 +308,11 @@ msgstr ""
msgid "Out of Gas" msgid "Out of Gas"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:16 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:48
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:16 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:47
#: lib/explorer_web/templates/block_transaction/index.html.eex:15 #: lib/explorer_web/templates/block_transaction/index.html.eex:39
#: lib/explorer_web/templates/pending_transaction/index.html.eex:15 #: lib/explorer_web/templates/pending_transaction/index.html.eex:31
#: lib/explorer_web/templates/transaction/index.html.eex:15 #: lib/explorer_web/templates/transaction/index.html.eex:31
msgid "Status" msgid "Status"
msgstr "" msgstr ""
@ -325,56 +325,56 @@ msgstr ""
msgid "Showing #%{number}" msgid "Showing #%{number}"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:16 #: lib/explorer_web/templates/address/show.html.eex:31
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:44 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:101
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:44 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:101
#: lib/explorer_web/templates/block_transaction/index.html.eex:43 #: lib/explorer_web/templates/block_transaction/index.html.eex:90
#: lib/explorer_web/templates/chain/show.html.eex:103 #: lib/explorer_web/templates/chain/show.html.eex:128
#: lib/explorer_web/templates/pending_transaction/index.html.eex:47 #: lib/explorer_web/templates/pending_transaction/index.html.eex:80
#: lib/explorer_web/templates/transaction/index.html.eex:43 #: lib/explorer_web/templates/transaction/index.html.eex:84
#: lib/explorer_web/templates/transaction/overview.html.eex:38 #: lib/explorer_web/templates/transaction/overview.html.eex:44
#: lib/explorer_web/templates/transaction/show.html.eex:16 #: lib/explorer_web/templates/transaction/show.html.eex:28
msgid "Ether" msgid "Ether"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:84 #: lib/explorer_web/templates/transaction/overview.html.eex:100
msgid "Gwei" msgid "Gwei"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:6 #: lib/explorer_web/templates/transaction/show.html.eex:8
#: lib/explorer_web/templates/transaction_log/index.html.eex:6 #: lib/explorer_web/templates/transaction_log/index.html.eex:8
msgid "Internal Transactions" msgid "Internal Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_header.html.eex:12 #: lib/explorer_web/templates/layout/_header.html.eex:20
msgid "Search by address, transaction hash, or block number" msgid "Search by address, transaction hash, or block number"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:40 #: lib/explorer_web/templates/transaction/show.html.eex:52
msgid "There are no Internal Transactions" msgid "There are no Internal Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction_log/index.html.eex:45 #: lib/explorer_web/templates/transaction_log/index.html.eex:63
msgid "There are no logs currently." msgid "There are no logs currently."
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:10 #: lib/explorer_web/templates/address/show.html.eex:20
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:10 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:37
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:10 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:36
msgid "Transactions From" msgid "Transactions From"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:9 #: lib/explorer_web/templates/address/show.html.eex:16
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:9 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:30
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:9 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:29
msgid "Transactions To" msgid "Transactions To"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:13 #: lib/explorer_web/templates/transaction/show.html.eex:25
msgid "Type" msgid "Type"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:84 #: lib/explorer_web/templates/transaction/overview.html.eex:99
#: lib/explorer_web/templates/transaction/overview.html.eex:88 #: lib/explorer_web/templates/transaction/overview.html.eex:105
msgid "Wei" msgid "Wei"
msgstr "" msgstr ""

@ -10,28 +10,28 @@ msgid ""
msgstr "" msgstr ""
"Language: en\n" "Language: en\n"
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:19 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:52
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:19 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:51
#: lib/explorer_web/templates/block/index.html.eex:12 #: lib/explorer_web/templates/block/index.html.eex:30
#: lib/explorer_web/templates/block_transaction/index.html.eex:18 #: lib/explorer_web/templates/block_transaction/index.html.eex:43
#: lib/explorer_web/templates/chain/show.html.eex:61 #: lib/explorer_web/templates/chain/show.html.eex:65
#: lib/explorer_web/templates/chain/show.html.eex:89 #: lib/explorer_web/templates/chain/show.html.eex:101
#: lib/explorer_web/templates/transaction/index.html.eex:18 #: lib/explorer_web/templates/transaction/index.html.eex:36
#: lib/explorer_web/templates/transaction/overview.html.eex:33 #: lib/explorer_web/templates/transaction/overview.html.eex:37
msgid "Age" msgid "Age"
msgstr "Age" msgstr "Age"
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:18 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:51
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:18 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:50
#: lib/explorer_web/templates/block_transaction/index.html.eex:17 #: lib/explorer_web/templates/block_transaction/index.html.eex:42
#: lib/explorer_web/templates/chain/show.html.eex:28 #: lib/explorer_web/templates/chain/show.html.eex:28
#: lib/explorer_web/templates/chain/show.html.eex:88 #: lib/explorer_web/templates/chain/show.html.eex:100
#: lib/explorer_web/templates/transaction/index.html.eex:17 #: lib/explorer_web/templates/transaction/index.html.eex:35
msgid "Block" msgid "Block"
msgstr "Block" msgstr "Block"
#: lib/explorer_web/templates/chain/show.html.eex:54 #: lib/explorer_web/templates/chain/show.html.eex:58
#: lib/explorer_web/templates/layout/_header.html.eex:18 #: lib/explorer_web/templates/layout/_header.html.eex:27
msgid "Blocks" msgid "Blocks"
msgstr "Blocks" msgstr "Blocks"
@ -39,24 +39,24 @@ msgstr "Blocks"
msgid "Copyright %{year} POA" msgid "Copyright %{year} POA"
msgstr "%{year} POA Network Ltd. All rights reserved" msgstr "%{year} POA Network Ltd. All rights reserved"
#: lib/explorer_web/templates/block/index.html.eex:14 #: lib/explorer_web/templates/block/index.html.eex:32
#: lib/explorer_web/templates/block/show.html.eex:54 #: lib/explorer_web/templates/block/show.html.eex:77
#: lib/explorer_web/templates/chain/show.html.eex:63 #: lib/explorer_web/templates/chain/show.html.eex:67
msgid "Gas Used" msgid "Gas Used"
msgstr "Gas Used" msgstr "Gas Used"
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:17 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:50
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:17 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:49
#: lib/explorer_web/templates/block/show.html.eex:26 #: lib/explorer_web/templates/block/show.html.eex:40
#: lib/explorer_web/templates/block_transaction/index.html.eex:16 #: lib/explorer_web/templates/block_transaction/index.html.eex:41
#: lib/explorer_web/templates/chain/show.html.eex:87 #: lib/explorer_web/templates/chain/show.html.eex:99
#: lib/explorer_web/templates/pending_transaction/index.html.eex:16 #: lib/explorer_web/templates/pending_transaction/index.html.eex:34
#: lib/explorer_web/templates/transaction/index.html.eex:16 #: lib/explorer_web/templates/transaction/index.html.eex:34
msgid "Hash" msgid "Hash"
msgstr "Hash" msgstr "Hash"
#: lib/explorer_web/templates/block/index.html.eex:11 #: lib/explorer_web/templates/block/index.html.eex:29
#: lib/explorer_web/templates/chain/show.html.eex:60 #: lib/explorer_web/templates/chain/show.html.eex:64
msgid "Height" msgid "Height"
msgstr "Height" msgstr "Height"
@ -65,26 +65,26 @@ msgstr "Height"
msgid "POA Network Explorer" msgid "POA Network Explorer"
msgstr "POA Network Explorer" msgstr "POA Network Explorer"
#: lib/explorer_web/templates/block/index.html.eex:13 #: lib/explorer_web/templates/block/index.html.eex:31
#: lib/explorer_web/templates/block/show.html.eex:8 #: lib/explorer_web/templates/block/show.html.eex:16
#: lib/explorer_web/templates/block/show.html.eex:22 #: lib/explorer_web/templates/block/show.html.eex:34
#: lib/explorer_web/templates/block_transaction/index.html.eex:9 #: lib/explorer_web/templates/block_transaction/index.html.eex:28
#: lib/explorer_web/templates/chain/show.html.eex:43 #: lib/explorer_web/templates/chain/show.html.eex:45
#: lib/explorer_web/templates/chain/show.html.eex:62 #: lib/explorer_web/templates/chain/show.html.eex:66
#: lib/explorer_web/templates/chain/show.html.eex:81 #: lib/explorer_web/templates/chain/show.html.eex:93
#: lib/explorer_web/templates/pending_transaction/index.html.eex:8 #: lib/explorer_web/templates/pending_transaction/index.html.eex:12
#: lib/explorer_web/templates/transaction/index.html.eex:8 #: lib/explorer_web/templates/transaction/index.html.eex:12
msgid "Transactions" msgid "Transactions"
msgstr "Transactions" msgstr "Transactions"
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:22 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:55
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:22 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:54
#: lib/explorer_web/templates/block_transaction/index.html.eex:21 #: lib/explorer_web/templates/block_transaction/index.html.eex:46
#: lib/explorer_web/templates/chain/show.html.eex:90 #: lib/explorer_web/templates/chain/show.html.eex:102
#: lib/explorer_web/templates/pending_transaction/index.html.eex:20 #: lib/explorer_web/templates/pending_transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/index.html.eex:21 #: lib/explorer_web/templates/transaction/index.html.eex:39
#: lib/explorer_web/templates/transaction/overview.html.eex:37 #: lib/explorer_web/templates/transaction/overview.html.eex:43
#: lib/explorer_web/templates/transaction/show.html.eex:16 #: lib/explorer_web/templates/transaction/show.html.eex:28
msgid "Value" msgid "Value"
msgstr "Value" msgstr "Value"
@ -92,43 +92,43 @@ msgstr "Value"
msgid "Block #%{number} Details" msgid "Block #%{number} Details"
msgstr "Block #%{number} Details" msgstr "Block #%{number} Details"
#: lib/explorer_web/templates/block/show.html.eex:38 #: lib/explorer_web/templates/block/show.html.eex:57
msgid "Difficulty" msgid "Difficulty"
msgstr "Difficulty" msgstr "Difficulty"
#: lib/explorer_web/templates/block/index.html.eex:15 #: lib/explorer_web/templates/block/index.html.eex:33
#: lib/explorer_web/templates/block/show.html.eex:58 #: lib/explorer_web/templates/block/show.html.eex:85
#: lib/explorer_web/templates/transaction/overview.html.eex:79 #: lib/explorer_web/templates/transaction/overview.html.eex:93
#: lib/explorer_web/templates/transaction/show.html.eex:17 #: lib/explorer_web/templates/transaction/show.html.eex:29
msgid "Gas Limit" msgid "Gas Limit"
msgstr "Gas Limit" msgstr "Gas Limit"
#: lib/explorer_web/templates/block/show.html.eex:34 #: lib/explorer_web/templates/block/show.html.eex:53
msgid "Miner" msgid "Miner"
msgstr "Validator" msgstr "Validator"
#: lib/explorer_web/templates/block/show.html.eex:62 #: lib/explorer_web/templates/block/show.html.eex:89
#: lib/explorer_web/templates/transaction/overview.html.eex:61 #: lib/explorer_web/templates/transaction/overview.html.eex:75
msgid "Nonce" msgid "Nonce"
msgstr "Nonce" msgstr "Nonce"
#: lib/explorer_web/templates/block/show.html.eex:14 #: lib/explorer_web/templates/block/show.html.eex:26
msgid "Number" msgid "Number"
msgstr "Height" msgstr "Height"
#: lib/explorer_web/templates/block/show.html.eex:30 #: lib/explorer_web/templates/block/show.html.eex:44
msgid "Parent Hash" msgid "Parent Hash"
msgstr "Parent Hash" msgstr "Parent Hash"
#: lib/explorer_web/templates/block/show.html.eex:50 #: lib/explorer_web/templates/block/show.html.eex:73
msgid "Size" msgid "Size"
msgstr "Size" msgstr "Size"
#: lib/explorer_web/templates/block/show.html.eex:18 #: lib/explorer_web/templates/block/show.html.eex:30
msgid "Timestamp" msgid "Timestamp"
msgstr "Timestamp" msgstr "Timestamp"
#: lib/explorer_web/templates/block/show.html.eex:46 #: lib/explorer_web/templates/block/show.html.eex:67
msgid "Total Difficulty" msgid "Total Difficulty"
msgstr "Total Difficulty" msgstr "Total Difficulty"
@ -140,54 +140,54 @@ msgstr "Block Height"
msgid "Transaction Details" msgid "Transaction Details"
msgstr "Transaction Details" msgstr "Transaction Details"
#: lib/explorer_web/templates/transaction/overview.html.eex:87 #: lib/explorer_web/templates/transaction/overview.html.eex:104
msgid "Cumulative Gas Used" msgid "Cumulative Gas Used"
msgstr "Cumulative Gas Used" msgstr "Cumulative Gas Used"
#: lib/explorer_web/templates/block/index.html.eex:14 #: lib/explorer_web/templates/block/index.html.eex:32
#: lib/explorer_web/templates/block/index.html.eex:15 #: lib/explorer_web/templates/block/index.html.eex:33
#: lib/explorer_web/templates/transaction/overview.html.eex:80 #: lib/explorer_web/templates/transaction/overview.html.eex:94
#: lib/explorer_web/templates/transaction/show.html.eex:17 #: lib/explorer_web/templates/transaction/show.html.eex:29
msgid "Gas" msgid "Gas"
msgstr "Gas" msgstr "Gas"
#: lib/explorer_web/templates/block/index.html.eex:16 #: lib/explorer_web/templates/block/index.html.eex:34
#: lib/explorer_web/templates/transaction/overview.html.eex:83 #: lib/explorer_web/templates/transaction/overview.html.eex:97
msgid "Gas Price" msgid "Gas Price"
msgstr "Gas Price" msgstr "Gas Price"
#: lib/explorer_web/templates/transaction/overview.html.eex:91 #: lib/explorer_web/templates/transaction/overview.html.eex:108
msgid "Input" msgid "Input"
msgstr "Input" msgstr "Input"
#: lib/explorer_web/templates/transaction/overview.html.eex:28 #: lib/explorer_web/templates/transaction/overview.html.eex:32
msgid "%{confirmations} block confirmations" msgid "%{confirmations} block confirmations"
msgstr "%{confirmations} block confirmations" msgstr "%{confirmations} block confirmations"
#: lib/explorer_web/templates/block/show.html.eex:23 #: lib/explorer_web/templates/block/show.html.eex:36
msgid "%{count} transactions in this block" msgid "%{count} transactions in this block"
msgstr "%{count} transactions in this block" msgstr "%{count} transactions in this block"
#: lib/explorer_web/templates/address/show.html.eex:3 #: lib/explorer_web/templates/address/show.html.eex:3
#: lib/explorer_web/templates/transaction_log/index.html.eex:14 #: lib/explorer_web/templates/transaction_log/index.html.eex:26
msgid "Address" msgid "Address"
msgstr "Address" msgstr "Address"
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:20 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:53
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:20 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:52
#: lib/explorer_web/templates/block_transaction/index.html.eex:19 #: lib/explorer_web/templates/block_transaction/index.html.eex:44
#: lib/explorer_web/templates/pending_transaction/index.html.eex:18 #: lib/explorer_web/templates/pending_transaction/index.html.eex:36
#: lib/explorer_web/templates/transaction/index.html.eex:19 #: lib/explorer_web/templates/transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/overview.html.eex:41 #: lib/explorer_web/templates/transaction/overview.html.eex:47
#: lib/explorer_web/templates/transaction/show.html.eex:14 #: lib/explorer_web/templates/transaction/show.html.eex:26
msgid "From" msgid "From"
msgstr "From" msgstr "From"
#: lib/explorer_web/templates/address/show.html.eex:8 #: lib/explorer_web/templates/address/show.html.eex:10
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:8 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:23
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:8 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:22
#: lib/explorer_web/templates/block/show.html.eex:7 #: lib/explorer_web/templates/block/show.html.eex:9
#: lib/explorer_web/templates/block_transaction/index.html.eex:8 #: lib/explorer_web/templates/block_transaction/index.html.eex:21
msgid "Overview" msgid "Overview"
msgstr "Overview" msgstr "Overview"
@ -195,13 +195,13 @@ msgstr "Overview"
msgid "Success" msgid "Success"
msgstr "Success" msgstr "Success"
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:21 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:54
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:21 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:53
#: lib/explorer_web/templates/block_transaction/index.html.eex:20 #: lib/explorer_web/templates/block_transaction/index.html.eex:45
#: lib/explorer_web/templates/pending_transaction/index.html.eex:19 #: lib/explorer_web/templates/pending_transaction/index.html.eex:37
#: lib/explorer_web/templates/transaction/index.html.eex:20 #: lib/explorer_web/templates/transaction/index.html.eex:38
#: lib/explorer_web/templates/transaction/overview.html.eex:51 #: lib/explorer_web/templates/transaction/overview.html.eex:61
#: lib/explorer_web/templates/transaction/show.html.eex:15 #: lib/explorer_web/templates/transaction/show.html.eex:27
msgid "To" msgid "To"
msgstr "To" msgstr "To"
@ -214,7 +214,7 @@ msgstr "Transaction Hash"
msgid "Transaction Status" msgid "Transaction Status"
msgstr "Transaction Status" msgstr "Transaction Status"
#: lib/explorer_web/templates/address/show.html.eex:15 #: lib/explorer_web/templates/address/show.html.eex:29
msgid "Balance" msgid "Balance"
msgstr "Balance" msgstr "Balance"
@ -228,24 +228,24 @@ msgstr "Balance"
msgid "POA" msgid "POA"
msgstr "POA" msgstr "POA"
#: lib/explorer_web/templates/block/index.html.eex:24 #: lib/explorer_web/templates/block/index.html.eex:49
msgid "%{count} transactions" msgid "%{count} transactions"
msgstr "%{count} transactions" msgstr "%{count} transactions"
#: lib/explorer_web/templates/block/index.html.eex:3 #: lib/explorer_web/templates/block/index.html.eex:4
msgid "Showing #%{start_block} to #%{end_block}" msgid "Showing #%{start_block} to #%{end_block}"
msgstr "Showing #%{start_block} to #%{end_block}" msgstr "Showing #%{start_block} to #%{end_block}"
#: lib/explorer_web/templates/transaction/index.html.eex:4 #: lib/explorer_web/templates/transaction/index.html.eex:5
msgid "Showing %{count} Transactions" msgid "Showing %{count} Transactions"
msgstr "Showing %{count} Transactions" msgstr "Showing %{count} Transactions"
#: lib/explorer_web/templates/pending_transaction/index.html.eex:9 #: lib/explorer_web/templates/pending_transaction/index.html.eex:19
#: lib/explorer_web/templates/pending_transaction/index.html.eex:36 #: lib/explorer_web/templates/pending_transaction/index.html.eex:64
#: lib/explorer_web/templates/pending_transaction/index.html.eex:44 #: lib/explorer_web/templates/pending_transaction/index.html.eex:76
#: lib/explorer_web/templates/transaction/index.html.eex:9 #: lib/explorer_web/templates/transaction/index.html.eex:19
#: lib/explorer_web/templates/transaction/overview.html.eex:46
#: lib/explorer_web/templates/transaction/overview.html.eex:56 #: lib/explorer_web/templates/transaction/overview.html.eex:56
#: lib/explorer_web/templates/transaction/overview.html.eex:70
#: lib/explorer_web/views/transaction_view.ex:20 #: lib/explorer_web/views/transaction_view.ex:20
#: lib/explorer_web/views/transaction_view.ex:35 #: lib/explorer_web/views/transaction_view.ex:35
#: lib/explorer_web/views/transaction_view.ex:42 #: lib/explorer_web/views/transaction_view.ex:42
@ -253,25 +253,25 @@ msgstr "Showing %{count} Transactions"
msgid "Pending" msgid "Pending"
msgstr "Pending" msgstr "Pending"
#: lib/explorer_web/templates/transaction/overview.html.eex:69 #: lib/explorer_web/templates/transaction/overview.html.eex:83
msgid "First Seen" msgid "First Seen"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:17 #: lib/explorer_web/templates/pending_transaction/index.html.eex:35
#: lib/explorer_web/templates/transaction/overview.html.eex:74 #: lib/explorer_web/templates/transaction/overview.html.eex:88
msgid "Last Seen" msgid "Last Seen"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:7 #: lib/explorer_web/templates/transaction/show.html.eex:15
#: lib/explorer_web/templates/transaction_log/index.html.eex:7 #: lib/explorer_web/templates/transaction_log/index.html.eex:15
msgid "Logs" msgid "Logs"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:4 #: lib/explorer_web/templates/pending_transaction/index.html.eex:5
msgid "Showing %{count} Pending Transactions" msgid "Showing %{count} Pending Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction_log/index.html.eex:15 #: lib/explorer_web/templates/transaction_log/index.html.eex:27
msgid "Topic" msgid "Topic"
msgstr "" msgstr ""
@ -279,7 +279,7 @@ msgstr ""
msgid "Transaction Logs" msgid "Transaction Logs"
msgstr "" msgstr ""
#: lib/explorer_web/templates/chain/show.html.eex:44 #: lib/explorer_web/templates/chain/show.html.eex:47
msgid "%{count} per day" msgid "%{count} per day"
msgstr "" msgstr ""
@ -307,8 +307,8 @@ msgstr ""
msgid "TPM" msgid "TPM"
msgstr "" msgstr ""
#: lib/explorer_web/templates/pending_transaction/index.html.eex:52 #: lib/explorer_web/templates/pending_transaction/index.html.eex:87
#: lib/explorer_web/templates/transaction/index.html.eex:48 #: lib/explorer_web/templates/transaction/index.html.eex:91
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
@ -320,11 +320,11 @@ msgstr ""
msgid "Out of Gas" msgid "Out of Gas"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:16 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:48
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:16 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:47
#: lib/explorer_web/templates/block_transaction/index.html.eex:15 #: lib/explorer_web/templates/block_transaction/index.html.eex:39
#: lib/explorer_web/templates/pending_transaction/index.html.eex:15 #: lib/explorer_web/templates/pending_transaction/index.html.eex:31
#: lib/explorer_web/templates/transaction/index.html.eex:15 #: lib/explorer_web/templates/transaction/index.html.eex:31
msgid "Status" msgid "Status"
msgstr "" msgstr ""
@ -337,56 +337,56 @@ msgstr ""
msgid "Showing #%{number}" msgid "Showing #%{number}"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:16 #: lib/explorer_web/templates/address/show.html.eex:31
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:44 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:101
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:44 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:101
#: lib/explorer_web/templates/block_transaction/index.html.eex:43 #: lib/explorer_web/templates/block_transaction/index.html.eex:90
#: lib/explorer_web/templates/chain/show.html.eex:103 #: lib/explorer_web/templates/chain/show.html.eex:128
#: lib/explorer_web/templates/pending_transaction/index.html.eex:47 #: lib/explorer_web/templates/pending_transaction/index.html.eex:80
#: lib/explorer_web/templates/transaction/index.html.eex:43 #: lib/explorer_web/templates/transaction/index.html.eex:84
#: lib/explorer_web/templates/transaction/overview.html.eex:38 #: lib/explorer_web/templates/transaction/overview.html.eex:44
#: lib/explorer_web/templates/transaction/show.html.eex:16 #: lib/explorer_web/templates/transaction/show.html.eex:28
msgid "Ether" msgid "Ether"
msgstr "POA" msgstr "POA"
#: lib/explorer_web/templates/transaction/overview.html.eex:84 #: lib/explorer_web/templates/transaction/overview.html.eex:100
msgid "Gwei" msgid "Gwei"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:6 #: lib/explorer_web/templates/transaction/show.html.eex:8
#: lib/explorer_web/templates/transaction_log/index.html.eex:6 #: lib/explorer_web/templates/transaction_log/index.html.eex:8
msgid "Internal Transactions" msgid "Internal Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_header.html.eex:12 #: lib/explorer_web/templates/layout/_header.html.eex:20
msgid "Search by address, transaction hash, or block number" msgid "Search by address, transaction hash, or block number"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:40 #: lib/explorer_web/templates/transaction/show.html.eex:52
msgid "There are no Internal Transactions" msgid "There are no Internal Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction_log/index.html.eex:45 #: lib/explorer_web/templates/transaction_log/index.html.eex:63
msgid "There are no logs currently." msgid "There are no logs currently."
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:10 #: lib/explorer_web/templates/address/show.html.eex:20
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:10 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:37
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:10 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:36
msgid "Transactions From" msgid "Transactions From"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/show.html.eex:9 #: lib/explorer_web/templates/address/show.html.eex:16
#: lib/explorer_web/templates/address_transaction_from/index.html.eex:9 #: lib/explorer_web/templates/address_transaction_from/index.html.eex:30
#: lib/explorer_web/templates/address_transaction_to/index.html.eex:9 #: lib/explorer_web/templates/address_transaction_to/index.html.eex:29
msgid "Transactions To" msgid "Transactions To"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/show.html.eex:13 #: lib/explorer_web/templates/transaction/show.html.eex:25
msgid "Type" msgid "Type"
msgstr "" msgstr ""
#: lib/explorer_web/templates/transaction/overview.html.eex:84 #: lib/explorer_web/templates/transaction/overview.html.eex:99
#: lib/explorer_web/templates/transaction/overview.html.eex:88 #: lib/explorer_web/templates/transaction/overview.html.eex:105
msgid "Wei" msgid "Wei"
msgstr "" msgstr ""

Loading…
Cancel
Save