Display a notice when an artist has no scrobbles

This commit is contained in:
Claudio Ortolina
2025-04-09 15:26:00 +01:00
parent 216ab4cee0
commit 5d3a8ff1d6
2 changed files with 11 additions and 0 deletions
@@ -34,6 +34,12 @@
>
{ngettext("1 scrobble", "%{count} scrobbles", artist_info.play_count)}
</span>
<span
:if={artist_info.play_count == 0}
class="text-xs font-medium text-zinc-700 dark:text-zinc-300 grow"
>
{gettext("No scrobbles")}
</span>
</.async_result>
<.link
class={[
+5
View File
@@ -722,3 +722,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Record wishlisted successfully"
msgstr ""
#: lib/music_library_web/live/artist_live/show.html.heex
#, elixir-autogen, elixir-format
msgid "No scrobbles"
msgstr ""