From 6751a071abc32d068ffa136976f084feaaf1b1b8 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 12 May 2025 17:37:47 +0100 Subject: [PATCH] Remove pagination record counter I don't need it anymore, and it gets in the way of the UI --- .../live/collection_live/index.html.heex | 8 -------- lib/music_library_web/live/wishlist_live/index.html.heex | 8 -------- priv/gettext/default.pot | 6 ------ priv/gettext/en/LC_MESSAGES/default.po | 6 ------ 4 files changed, 28 deletions(-) diff --git a/lib/music_library_web/live/collection_live/index.html.heex b/lib/music_library_web/live/collection_live/index.html.heex index 376ed6aa..57487bd6 100644 --- a/lib/music_library_web/live/collection_live/index.html.heex +++ b/lib/music_library_web/live/collection_live/index.html.heex @@ -59,14 +59,6 @@ {gettext("A->Z")} - -

- {gettext( - "Showing %{visible} of %{total} records", - %{visible: Enum.count(@streams.records), total: @record_list_params.total_entries} - ) - |> raw()} -

diff --git a/lib/music_library_web/live/wishlist_live/index.html.heex b/lib/music_library_web/live/wishlist_live/index.html.heex index a171d302..dedb1ef6 100644 --- a/lib/music_library_web/live/wishlist_live/index.html.heex +++ b/lib/music_library_web/live/wishlist_live/index.html.heex @@ -18,14 +18,6 @@ - -

- {gettext( - "Showing %{visible} of %{total} records", - %{visible: Enum.count(@streams.records), total: @record_list_params.total_entries} - ) - |> raw()} -

<.record_list diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index a0a46859..e1f58156 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -192,12 +192,6 @@ msgstr "" msgid "Show" msgstr "" -#: lib/music_library_web/live/collection_live/index.html.heex -#: lib/music_library_web/live/wishlist_live/index.html.heex -#, elixir-autogen, elixir-format -msgid "Showing %{visible} of %{total} records" -msgstr "" - #: lib/music_library_web/components/core_components.ex #, elixir-autogen, elixir-format msgid "Something went wrong!" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index 4c1d013b..8a764614 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -192,12 +192,6 @@ msgstr "" msgid "Show" msgstr "" -#: lib/music_library_web/live/collection_live/index.html.heex -#: lib/music_library_web/live/wishlist_live/index.html.heex -#, elixir-autogen, elixir-format -msgid "Showing %{visible} of %{total} records" -msgstr "" - #: lib/music_library_web/components/core_components.ex #, elixir-autogen, elixir-format msgid "Something went wrong!"