From e4075c930e24390a7dad761256f25da9e5364c95 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 14 Nov 2024 19:12:53 +0000 Subject: [PATCH] Show included release groups in wishlist record page --- .../live/wishlist_live/show.html.heex | 15 +++++++++++++++ priv/gettext/default.pot | 9 +++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/lib/music_library_web/live/wishlist_live/show.html.heex b/lib/music_library_web/live/wishlist_live/show.html.heex index 43288cd8..51c52dc3 100644 --- a/lib/music_library_web/live/wishlist_live/show.html.heex +++ b/lib/music_library_web/live/wishlist_live/show.html.heex @@ -75,6 +75,21 @@ +
0} + class="py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0" + > +
+ <%= gettext("Includes") %> +
+
+
    +
  • + <%= child_release_group.artists %> - <%= child_release_group.title %> +
  • +
+
+
<%= gettext("Inserted at") %> diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 3176effd..168aca1c 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -34,7 +34,7 @@ msgstr "" msgid "Back to records" msgstr "" -#: lib/music_library_web/live/wishlist_live/show.html.heex:105 +#: lib/music_library_web/live/wishlist_live/show.html.heex:120 #, elixir-autogen, elixir-format msgid "Back to wishlist" msgstr "" @@ -129,7 +129,7 @@ msgid "Import from MusicBrainz" msgstr "" #: lib/music_library_web/live/record_live/show.html.heex:102 -#: lib/music_library_web/live/wishlist_live/show.html.heex:80 +#: lib/music_library_web/live/wishlist_live/show.html.heex:95 #, elixir-autogen, elixir-format msgid "Inserted at" msgstr "" @@ -312,7 +312,7 @@ msgid "Types" msgstr "" #: lib/music_library_web/live/record_live/show.html.heex:110 -#: lib/music_library_web/live/wishlist_live/show.html.heex:88 +#: lib/music_library_web/live/wishlist_live/show.html.heex:103 #, elixir-autogen, elixir-format msgid "Updated at" msgstr "" @@ -357,7 +357,7 @@ msgid "Copy MusicBrainz ID to clipboard" msgstr "" #: lib/music_library_web/live/record_live/show.html.heex:121 -#: lib/music_library_web/live/wishlist_live/show.html.heex:99 +#: lib/music_library_web/live/wishlist_live/show.html.heex:114 #, elixir-autogen, elixir-format msgid "MusicBrainz data" msgstr "" @@ -391,6 +391,7 @@ msgid "Number of included records" msgstr "" #: lib/music_library_web/live/record_live/show.html.heex:90 +#: lib/music_library_web/live/wishlist_live/show.html.heex:83 #, elixir-autogen, elixir-format msgid "Includes" msgstr ""