Display a notice when an artist has no scrobbles
This commit is contained in:
@@ -34,6 +34,12 @@
|
|||||||
>
|
>
|
||||||
{ngettext("1 scrobble", "%{count} scrobbles", artist_info.play_count)}
|
{ngettext("1 scrobble", "%{count} scrobbles", artist_info.play_count)}
|
||||||
</span>
|
</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>
|
</.async_result>
|
||||||
<.link
|
<.link
|
||||||
class={[
|
class={[
|
||||||
|
|||||||
@@ -722,3 +722,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record wishlisted successfully"
|
msgid "Record wishlisted successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/music_library_web/live/artist_live/show.html.heex
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "No scrobbles"
|
||||||
|
msgstr ""
|
||||||
|
|||||||
Reference in New Issue
Block a user