<%= 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" %> |