Show included release groups in wishlist record page
This commit is contained in:
@@ -75,6 +75,21 @@
|
||||
</button>
|
||||
</dd>
|
||||
</div>
|
||||
<div
|
||||
:if={Records.Record.child_release_groups_count(@record) > 0}
|
||||
class="py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0"
|
||||
>
|
||||
<dt class="text-sm font-medium leading-6 text-zinc-900 dark:text-zinc-400">
|
||||
<%= gettext("Includes") %>
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-zinc-700 dark:text-zinc-300 sm:col-span-2 sm:mt-0">
|
||||
<ul>
|
||||
<li :for={child_release_group <- Records.Record.child_release_groups(@record)}>
|
||||
<%= child_release_group.artists %> - <%= child_release_group.title %>
|
||||
</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</div>
|
||||
<div class="py-2 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0">
|
||||
<dt class="text-sm font-medium leading-6 text-zinc-900 dark:text-zinc-400">
|
||||
<%= gettext("Inserted at") %>
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user