From 0d41b85849c7e9a95bb39db9bd158b9b55e52141 Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 17 Jul 2018 10:11:21 -0400 Subject: [PATCH] Moved pieces in internal transactions for new tile layout --- .../_internal_transaction.html.eex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex b/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex index 2a4bd40ff5..a661297425 100644 --- a/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/_internal_transaction.html.eex @@ -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 %> + <%= if @address.hash == @internal_transaction.from_address_hash do %> + OUT + <% else %> + IN + <% end %> - <%= ExplorerWeb.TransactionView.value(@internal_transaction, include_label: false) %> POA
- <%= if @address.hash == @internal_transaction.from_address_hash do %> - OUT - <% else %> - IN - <% end %> + <%= ExplorerWeb.TransactionView.value(@internal_transaction, include_label: false) %> <%= gettext "Ether" %>