|
|
|
@ -3,10 +3,10 @@ |
|
|
|
|
<%= link(gettext("View All Transactions →"), to: transaction_path(@conn, :index, Gettext.get_locale), class: "button button--secondary button--xsmall float-right") %> |
|
|
|
|
<h2 class="card-title"><%= gettext "Transactions" %></h2> |
|
|
|
|
<%= for transaction <- @chain.transactions do %> |
|
|
|
|
<div class="tile"> |
|
|
|
|
<div class="tile tile-type-transaction"> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-md-2 d-flex align-items-center justify-content-center"> |
|
|
|
|
Contract Creation |
|
|
|
|
<div class="col-md-2 d-flex align-items-center justify-content-center tile-label"> |
|
|
|
|
Transaction |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-8"> |
|
|
|
|
<%= link(transaction.hash , |
|
|
|
@ -32,11 +32,15 @@ |
|
|
|
|
<% true -> %> |
|
|
|
|
<% end %> |
|
|
|
|
</div> |
|
|
|
|
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> |
|
|
|
|
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-2 d-flex flex-column justify-content-end text-right"> |
|
|
|
|
<span data-from-now="<%= transaction.block.timestamp %>"></span> |
|
|
|
|
<span>Block #12345</span> |
|
|
|
|
Block # |
|
|
|
|
<%= link( |
|
|
|
|
transaction.block, |
|
|
|
|
to: block_path(@conn, :show, @conn.assigns.locale, transaction.block) |
|
|
|
|
) %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|