|
|
@ -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") %> |
|
|
|
<%= 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> |
|
|
|
<h2 class="card-title"><%= gettext "Transactions" %></h2> |
|
|
|
<%= for transaction <- @chain.transactions do %> |
|
|
|
<%= for transaction <- @chain.transactions do %> |
|
|
|
<div class="tile"> |
|
|
|
<div class="tile tile-type-transaction"> |
|
|
|
<div class="row"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-2 d-flex align-items-center justify-content-center"> |
|
|
|
<div class="col-md-2 d-flex align-items-center justify-content-center tile-label"> |
|
|
|
Contract Creation |
|
|
|
Transaction |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-8"> |
|
|
|
<div class="col-md-8"> |
|
|
|
<%= link(transaction.hash , |
|
|
|
<%= link(transaction.hash , |
|
|
@ -32,11 +32,15 @@ |
|
|
|
<% true -> %> |
|
|
|
<% true -> %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> |
|
|
|
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-2 d-flex flex-column justify-content-end text-right"> |
|
|
|
<div class="col-md-2 d-flex flex-column justify-content-end text-right"> |
|
|
|
<span data-from-now="<%= transaction.block.timestamp %>"></span> |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|