From bb84d7703f9743c10e37987ec2faa44bf2d91629 Mon Sep 17 00:00:00 2001 From: Stamates Date: Wed, 20 Jun 2018 10:33:48 -0400 Subject: [PATCH] Hide table display if no transactions exist --- .../index.html.eex | 1 - .../address_transaction/index.html.eex | 78 ++++++++++--------- .../templates/transaction_log/index.html.eex | 2 +- 3 files changed, 42 insertions(+), 39 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex index 713b18a161..d03b30fcfb 100644 --- a/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex @@ -37,7 +37,6 @@
- <%= if Enum.count(@internal_transactions) > 0 do %>
-
<%= if @next_page_params do %> diff --git a/apps/explorer_web/lib/explorer_web/templates/transaction_log/index.html.eex b/apps/explorer_web/lib/explorer_web/templates/transaction_log/index.html.eex index 5ee750ef99..0eea03ff44 100644 --- a/apps/explorer_web/lib/explorer_web/templates/transaction_log/index.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/transaction_log/index.html.eex @@ -64,7 +64,7 @@ <% end %> <% else %> -

<%= gettext "There are no logs currently." %>

+

<%= gettext "There are no logs currently." %>

<% end %>