diff --git a/apps/block_scout_web/assets/js/lib/async_listing_load.js b/apps/block_scout_web/assets/js/lib/async_listing_load.js index a62b3c0335..c3a1ad54a1 100644 --- a/apps/block_scout_web/assets/js/lib/async_listing_load.js +++ b/apps/block_scout_web/assets/js/lib/async_listing_load.js @@ -164,7 +164,6 @@ export const elements = { $el.attr('disabled', false) $el.attr('href', state.prevPagePath) - } }, '[data-async-listing] [data-loading-button]': { diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/pagination_helpers.ex b/apps/block_scout_web/lib/block_scout_web/controllers/pagination_helpers.ex index 0c3ccc0c6f..e5ad7838bd 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/pagination_helpers.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/pagination_helpers.ex @@ -1,4 +1,8 @@ defmodule BlockScoutWeb.PaginationHelpers do + @moduledoc """ + Common pagination logic helpers. + """ + def current_page_number(params) do cond do !params["prev_page_number"] -> 1 diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 7922c7d2f0..948df42745 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -1724,7 +1724,7 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:37 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 msgid "Page" msgstr "" @@ -1742,6 +1742,6 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:37 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 msgid "of" msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 8925a95acf..389dde427e 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -1357,7 +1357,7 @@ msgid "Loading balances" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:23 +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:22 #: lib/block_scout_web/templates/chain/show.html.eex:13 msgid "Loading chart" msgstr "" @@ -1368,7 +1368,7 @@ msgid "There is no coin history for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:26 +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:25 #: lib/block_scout_web/templates/chain/show.html.eex:16 msgid "There was a problem loading the chart." msgstr "" @@ -1724,7 +1724,7 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:37 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 msgid "Page" msgstr "" @@ -1742,6 +1742,6 @@ msgstr "" #, elixir-format #: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:37 +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:38 msgid "of" msgstr ""