diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex index 5f45651724..fca5d5b50d 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex @@ -1,6 +1,17 @@
+ <%= if @next_page_path do %> + " class="button button-secondary button-small float-right ml-1"> + <%= gettext("Next") %> + + <% end %> + <%= if @prev_page_path do %> + " class="button button-secondary button-small float-right"> + <%= gettext("Back") %> + + <% end %> +

<%= gettext "Addresses" %>

<%= gettext "Showing " %> @@ -10,26 +21,26 @@ <%= gettext "total addresses with a balance" %> <%= gettext " (page" %> <%= Cldr.Number.to_string!(@cur_page_number, format: "#,###)") %> +

+ + <%= for {{address, tx_count}, index} <- Enum.with_index(@address_tx_count_pairs, 1) do %> + <%= render "_tile.html", + address: address, index: index, exchange_rate: @exchange_rate, + total_supply: @total_supply, tx_count: tx_count, + validation_count: validation_count(address) %> + <% end %> +
<%= if @next_page_path do %> - " class="button button-secondary button-small float-right mt-0 ml-1"> + " class="button button-secondary button-small float-right mt-0 mb-0 ml-1"> <%= gettext("Next") %> <% end %> <%= if @prev_page_path do %> - " class="button button-secondary button-small float-right mt-0"> + " class="button button-secondary button-small float-right mt-0 mb-0"> <%= gettext("Back") %> <% end %> -

-
- - <%= for {{address, tx_count}, index} <- Enum.with_index(@address_tx_count_pairs, 1) do %> - <%= render "_tile.html", - address: address, index: index, exchange_rate: @exchange_rate, - total_supply: @total_supply, tx_count: tx_count, - validation_count: validation_count(address) %> - <% end %>