diff --git a/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex index 6ff6e42254..f3be8551a2 100644 --- a/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex @@ -18,36 +18,34 @@ ) %> - +

<%= gettext "Transactions" %>

<%= gettext("Showing %{count} Pending Transactions", count: @pending_transaction_count) %>

<%= for transaction <- @transactions do %> -
-
-
- <%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %> -
-
- <%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %> - - <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.from_address), address_hash: transaction.from_address_hash %> - → - <%= if transaction.to_address_hash do %> - <%= render ExplorerWeb.AddressView, "_link.html", address_hash: transaction.to_address_hash, locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.to_address) %> - <% else %> - <%= gettext("Contract Address Pending") %> - <% end %> - - <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA -
-
+
+
+
+ <%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %> +
+
+ <%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %> + + <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.from_address), address_hash: transaction.from_address_hash %> + → + <%= if transaction.to_address_hash do %> + <%= render ExplorerWeb.AddressView, "_link.html", address_hash: transaction.to_address_hash, locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.to_address) %> + <% else %> + <%= gettext("Contract Address Pending") %> + <% end %> + + <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA +
-
<% end %> <%= if @next_page_params do %> <%= link( diff --git a/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex index c34121fe77..216c2cc5fa 100644 --- a/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex @@ -18,36 +18,37 @@ ) %> -
+

<%= gettext "Transactions" %>

<%= gettext("Showing %{count} Validated Transactions", count: Cldr.Number.to_string!(@transaction_estimated_count, format: "#,###")) %>

<%= for transaction <- @transactions do %> -
-
-
- <%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %> -
-
- <%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %> - - <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.from_address), address_hash: transaction.from_address_hash %> - → - <%= render ExplorerWeb.AddressView, "_link.html", address_hash: ExplorerWeb.TransactionView.to_address_hash(transaction), locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.to_address) %> - - <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA -
-
- - <%= link( - gettext("Block #") <> "#{transaction.block.number}", - to: block_path(@conn, :show, @conn.assigns.locale, transaction.block) - ) %> +
+
+
+ <%= ExplorerWeb.TransactionView.transaction_display_type(transaction) %> +
+ +
+ <%= render ExplorerWeb.TransactionView, "_link.html", locale: @locale, transaction_hash: transaction.hash %> + + <%= render ExplorerWeb.AddressView, "_link.html", locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.from_address), address_hash: transaction.from_address_hash %> + → + <%= render ExplorerWeb.AddressView, "_link.html", address_hash: ExplorerWeb.TransactionView.to_address_hash(transaction), locale: @locale, contract: ExplorerWeb.AddressView.contract?(transaction.to_address) %> + + <%= ExplorerWeb.TransactionView.value(transaction, include_label: false) %> POA +
+
+ + <%= link( + gettext("Block #") <> "#{transaction.block.number}", + to: block_path(@conn, :show, @conn.assigns.locale, transaction.block) + ) %> +
-
<% end %> <%= if @next_page_params do %> <%= link(