Always display the transaction headline title in the address transactions tab

pull/816/head
Ryan Arthur 6 years ago committed by Stamates
parent 2921e048ea
commit 777844c979
  1. 4
      apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex

@ -60,9 +60,7 @@
) %> ) %>
</div> </div>
</div> </div>
<%= if Enum.count(@transactions) > 0 or Enum.count(@pending_transactions) > 0 do %> <h2 class="card-title"><%= gettext "Transactions" %></h2>
<h2 class="card-title"><%= gettext "Transactions" %></h2>
<% end %>
<div class="mb-3" data-selector="pending-transactions-list"> <div class="mb-3" data-selector="pending-transactions-list">
<%= for pending_transaction <- @pending_transactions do %> <%= for pending_transaction <- @pending_transactions do %>
<%= render(BlockScoutWeb.TransactionView, "_tile.html", current_address: @address, transaction: pending_transaction) %> <%= render(BlockScoutWeb.TransactionView, "_tile.html", current_address: @address, transaction: pending_transaction) %>

Loading…
Cancel
Save