|
|
|
@ -17,15 +17,15 @@ |
|
|
|
|
<% else %> |
|
|
|
|
<%= render ExplorerWeb.AddressView, "_link.html", address_hash: ExplorerWeb.InternalTransactionView.to_address_hash(@internal_transaction), contract: ExplorerWeb.AddressView.contract?(@internal_transaction.to_address), locale: @locale %> |
|
|
|
|
<% end %> |
|
|
|
|
</span> |
|
|
|
|
<%= ExplorerWeb.TransactionView.value(@internal_transaction, include_label: false) %> POA |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-3 col-lg-2 d-flex flex-row flex-md-column align-items-end justify-content-center text-md-right"> |
|
|
|
|
<%= if @address.hash == @internal_transaction.from_address_hash do %> |
|
|
|
|
<span class="badge badge-danger tile-badge">OUT</span> |
|
|
|
|
<% else %> |
|
|
|
|
<span class="badge badge-success tile-badge">IN</span> |
|
|
|
|
<% end %> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-3 col-lg-2 d-flex flex-row flex-md-column align-items-end justify-content-center text-md-right"> |
|
|
|
|
<%= ExplorerWeb.TransactionView.value(@internal_transaction, include_label: false) %> <%= gettext "Ether" %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|