Remove track count from scrobbled tracks list

This commit is contained in:
Claudio Ortolina
2025-09-17 09:07:29 +03:00
parent fa1a8bee54
commit e7c2b92a3b
4 changed files with 2 additions and 27 deletions
@@ -1,10 +1,7 @@
<div>
<header class="gap-6 mb-2">
<div class="flex items-center justify-between gap-6 mb-2 mt-2">
<header class="gap-6">
<div class="mb-2 mt-2">
<.search_form query={@track_list_params.query} />
<div class="text-sm text-zinc-500 dark:text-zinc-400">
{ngettext("1 track", "%{count} tracks", @track_list_params.total_records)}
</div>
</div>
</header>
-7
View File
@@ -1324,13 +1324,6 @@ msgstr ""
msgid "No records released on this day."
msgstr ""
#: lib/music_library_web/live/scrobbled_tracks_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "1 track"
msgid_plural "%{count} tracks"
msgstr[0] ""
msgstr[1] ""
#: lib/music_library_web/live/scrobbled_tracks_live/form_component.ex
#, elixir-autogen, elixir-format
msgid "Album name"
-7
View File
@@ -1324,13 +1324,6 @@ msgstr ""
msgid "No records released on this day."
msgstr ""
#: lib/music_library_web/live/scrobbled_tracks_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "1 track"
msgid_plural "%{count} tracks"
msgstr[0] ""
msgstr[1] ""
#: lib/music_library_web/live/scrobbled_tracks_live/form_component.ex
#, elixir-autogen, elixir-format, fuzzy
msgid "Album name"
@@ -45,14 +45,6 @@ defmodule MusicLibraryWeb.ScrobbledTracksLiveTest do
assert html =~ "No scrobbled tracks found"
end
test "displays track count", %{conn: conn} do
create_test_tracks(3)
{:ok, _index_live, html} = live(conn, ~p"/scrobbled-tracks")
assert html =~ ~r/\d+ tracks?/
end
end
describe "Search functionality" do