diff --git a/apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex b/apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex index dcdde1d146..8d479ac715 100644 --- a/apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex @@ -18,20 +18,13 @@
<%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, address: transaction.from_address %> → - <%= cond do %> - <% transaction.to_address_hash != nil -> %> - <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, address: transaction.to_address %> - <% transaction.created_contract_address_hash != nil -> %> - - <%= link( - "Contract Creation", - class: "transaction__link", - "data-address-hash": transaction.created_contract_address_hash, - to: address_path(@conn, :show, @conn.assigns.locale, transaction.created_contract_address_hash), - title: transaction.created_contract_address_hash - ) %> - <% true -> %> - <% end %> + <%= link( + transaction.created_contract_address_hash, + class: "tile-label", + "data-address-hash": transaction.created_contract_address_hash, + to: address_path(@conn, :show, @conn.assigns.locale, transaction.created_contract_address_hash), + title: transaction.created_contract_address_hash + ) %>
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA @@ -59,20 +52,7 @@
<%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, address: transaction.from_address %> → - <%= cond do %> - <% transaction.to_address_hash != nil -> %> - <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, address: transaction.to_address %> - <% transaction.created_contract_address_hash != nil -> %> - - <%= link( - "Contract Creation", - class: "transaction__link", - "data-address-hash": transaction.created_contract_address_hash, - to: address_path(@conn, :show, @conn.assigns.locale, transaction.created_contract_address_hash), - title: transaction.created_contract_address_hash - ) %> - <% true -> %> - <% end %> + <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, address: transaction.to_address %>
<%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA