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

<%= link(gettext("Transactions"), to: transaction_path(@conn, :index, @conn.assigns.locale), class: "transactions__tab-link") %>

<%= link(gettext("Pending"), to: pending_transaction_path(@conn, :index, @conn.assigns.locale), class: "transactions__tab-link transactions__tab-link--active") %>

<%= for transaction <- @transactions.entries do %> <% end %>
<%= gettext "Status" %> <%= gettext "Hash" %> <%= gettext "Last Seen" %> <%= gettext "From" %> <%= gettext "To" %> <%= gettext "Value" %>
<%= link(transaction.hash, to: transaction_path(@conn, :show, @conn.assigns.locale, transaction.hash), class: "transactions__link transactions__link--truncated transactions__link--long-hash") %> <%= transaction.last_seen %> <%= if transaction.to_address_hash do %> <%= 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") %> <% else %> <%= gettext "Pending" %> <% end %> <%= if transaction.from_address_hash do %> <%= 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") %> <% else %> <%= gettext "Pending" %> <% end %> <%= Decimal.div(Decimal.new(transaction.value), Decimal.new(1_000_000_000_000_000_000)) |> Decimal.to_string(:normal) %> <%= gettext "POA" %>
<%= link(gettext("Next Page"), to: pending_transaction_path(@conn, :index, @conn.assigns.locale, %{"last_seen" => @transactions.last_seen}), class: "transactions__link transactions__link--next-page") %>