Group status labels in scrobble activity
This commit is contained in:
@@ -128,45 +128,47 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span
|
<div class="flex gap-2">
|
||||||
:if={track.album.musicbrainz_id == ""}
|
<span
|
||||||
class={[
|
:if={track.album.musicbrainz_id == ""}
|
||||||
"inline-flex items-center rounded-md",
|
class={[
|
||||||
"px-2 py-1 text-xs font-medium",
|
"inline-flex items-center rounded-md",
|
||||||
"ring-1 ring-inset",
|
"px-2 py-1 text-xs font-medium",
|
||||||
"bg-zinc-50 dark:bg-zinc-500/10",
|
"ring-1 ring-inset",
|
||||||
"text-zinc-700 dark:text-zinc-400",
|
"bg-zinc-50 dark:bg-zinc-500/10",
|
||||||
"ring-zinc-600/20 dark:ring-zinc-500/20"
|
"text-zinc-700 dark:text-zinc-400",
|
||||||
]}
|
"ring-zinc-600/20 dark:ring-zinc-500/20"
|
||||||
>
|
]}
|
||||||
{gettext("No MB ID")}
|
>
|
||||||
</span>
|
{gettext("No MB ID")}
|
||||||
<span
|
</span>
|
||||||
:if={track.album.musicbrainz_id in @collected_release_ids}
|
<span
|
||||||
class={[
|
:if={track.album.musicbrainz_id in @collected_release_ids}
|
||||||
"inline-flex items-center rounded-md",
|
class={[
|
||||||
"px-2 py-1 text-xs font-medium",
|
"inline-flex items-center rounded-md",
|
||||||
"ring-1 ring-inset",
|
"px-2 py-1 text-xs font-medium",
|
||||||
"bg-green-50 dark:bg-green-500/10",
|
"ring-1 ring-inset",
|
||||||
"text-green-700 dark:text-green-400",
|
"bg-green-50 dark:bg-green-500/10",
|
||||||
"ring-green-600/20 dark:ring-green-500/20"
|
"text-green-700 dark:text-green-400",
|
||||||
]}
|
"ring-green-600/20 dark:ring-green-500/20"
|
||||||
>
|
]}
|
||||||
{gettext("Collected")}
|
>
|
||||||
</span>
|
{gettext("Collected")}
|
||||||
<span
|
</span>
|
||||||
:if={track.album.musicbrainz_id in @wishlisted_release_ids}
|
<span
|
||||||
class={[
|
:if={track.album.musicbrainz_id in @wishlisted_release_ids}
|
||||||
"inline-flex items-center rounded-md",
|
class={[
|
||||||
"px-2 py-1 text-xs font-medium",
|
"inline-flex items-center rounded-md",
|
||||||
"ring-1 ring-inset",
|
"px-2 py-1 text-xs font-medium",
|
||||||
"bg-yellow-50 dark:bg-yellow-400/10",
|
"ring-1 ring-inset",
|
||||||
"text-yellow-800 dark:text-yellow-500",
|
"bg-yellow-50 dark:bg-yellow-400/10",
|
||||||
"ring-yellow-600/20 dark:ring-yellow-400/20"
|
"text-yellow-800 dark:text-yellow-500",
|
||||||
]}
|
"ring-yellow-600/20 dark:ring-yellow-400/20"
|
||||||
>
|
]}
|
||||||
{gettext("Wishlisted")}
|
>
|
||||||
</span>
|
{gettext("Wishlisted")}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
:if={
|
:if={
|
||||||
|
|||||||
@@ -354,17 +354,17 @@ msgid "Scrobble activity"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/live/record_live/import_component.ex:80
|
#: lib/music_library_web/live/record_live/import_component.ex:80
|
||||||
#: lib/music_library_web/live/stats_live/index.html.heex:187
|
#: lib/music_library_web/live/stats_live/index.html.heex:189
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Choose which format to import"
|
msgid "Choose which format to import"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/live/stats_live/index.html.heex:155
|
#: lib/music_library_web/live/stats_live/index.html.heex:156
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Collected"
|
msgid "Collected"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/live/stats_live/index.html.heex:168
|
#: lib/music_library_web/live/stats_live/index.html.heex:169
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Wishlisted"
|
msgid "Wishlisted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -414,7 +414,7 @@ msgstr ""
|
|||||||
msgid "Error refreshing cover"
|
msgid "Error refreshing cover"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/live/stats_live/index.html.heex:142
|
#: lib/music_library_web/live/stats_live/index.html.heex:143
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "No MB ID"
|
msgid "No MB ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
Reference in New Issue
Block a user