<%= gettext("Showing %{count} Transactions", count: @transactions.total_entries) %>

<%= pagination_links @conn, @transactions, ["en"], view_style: :bulma, first: true, distance: 1, previous: Phoenix.HTML.raw("‹"), next: Phoenix.HTML.raw("›"), path: &transaction_path/4 %>
<%= for transaction <- @transactions do %> <% end %>
<%= gettext "Hash" %> <%= gettext "Block" %> <%= gettext "Age" %> <%= gettext "Value" %>
<%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash)) %>
<%= if is_nil(transaction.block_transaction) do %> <%= gettext "Pending" %> <% else %> <%= link(transaction.block.number, to: block_path(@conn, :show, @conn.assigns.locale, transaction.block.number)) %> <% end %> <%= if is_nil(transaction.block_transaction) do %> <%= gettext "Pending" %> <% else %> <%= transaction.block.timestamp |> Timex.from_now %> <% end %> <%= Decimal.div(Decimal.new(transaction.value), Decimal.new(1_000_000_000_000_000_000)) |> Decimal.to_string(:normal) %> <%= gettext "POA" %>