From ca0b4fb0e10e3d00a8f946c9cebce78eb41e0b85 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 28 Jan 2025 11:33:11 +0000 Subject: [PATCH] Improve styling of collection record details page --- .../live/collection_live/show.html.heex | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/music_library_web/live/collection_live/show.html.heex b/lib/music_library_web/live/collection_live/show.html.heex index c46f2102..c33fbb8e 100644 --- a/lib/music_library_web/live/collection_live/show.html.heex +++ b/lib/music_library_web/live/collection_live/show.html.heex @@ -137,14 +137,14 @@ -
+
<%!-- TODO: replace with OSS version --%>
-
+
{gettext("ID")}
-
+
{@record.id}
-
+
{gettext("Genres")}
-
+
<.link :for={genre <- @record.genres} class="mr-2 text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" @@ -175,10 +175,10 @@
-
+
{gettext("MusicBrainz ID")}
-
+
{@record.musicbrainz_id} @@ -197,10 +197,10 @@
-
+
{gettext("Purchased on")}
-
+
{Records.Record.format_as_date(@record.purchased_at)}
@@ -208,10 +208,10 @@ :if={Records.Record.child_release_groups_count(@record) > 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} @@ -220,18 +220,18 @@
-
+
{gettext("Inserted at")}
-
+
{Records.Record.format_as_date(@record.inserted_at)}
-
+
{gettext("Updated at")}
-
+
{Records.Record.format_as_date(@record.updated_at)}