fix style issues

pull/1974/head
Ayrat Badykov 6 years ago
parent 157b85da86
commit a10beac075
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 1
      apps/block_scout_web/assets/js/lib/async_listing_load.js
  2. 4
      apps/block_scout_web/lib/block_scout_web/controllers/pagination_helpers.ex
  3. 4
      apps/block_scout_web/priv/gettext/default.pot
  4. 8
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -164,7 +164,6 @@ export const elements = {
$el.attr('disabled', false)
$el.attr('href', state.prevPagePath)
}
},
'[data-async-listing] [data-loading-button]': {

@ -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

@ -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 ""

@ -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 ""

Loading…
Cancel
Save