From b301a5da7dede23dad8912dcad8dcc100623a5fd Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 3 Dec 2024 09:47:52 +0000 Subject: [PATCH] Display number of scrobbles per artist --- .../live/artist_live/show.html.heex | 17 ++++++++++++++++- priv/gettext/default.pot | 13 +++++++++---- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/lib/music_library_web/live/artist_live/show.html.heex b/lib/music_library_web/live/artist_live/show.html.heex index 6559fb60..4b082dae 100644 --- a/lib/music_library_web/live/artist_live/show.html.heex +++ b/lib/music_library_web/live/artist_live/show.html.heex @@ -1,6 +1,21 @@
-

+

{@artist.name} + 0}> + + {gettext("Number of scrobbles")} + + + {@artist_info.result.play_count} + +