diff --git a/lib/music_library_web/components/core_components.ex b/lib/music_library_web/components/core_components.ex
index 7c67f050..014b237a 100644
--- a/lib/music_library_web/components/core_components.ex
+++ b/lib/music_library_web/components/core_components.ex
@@ -582,7 +582,7 @@ defmodule MusicLibraryWeb.CoreComponents do
<.link
navigate={@navigate}
- class="text-sm font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
+ class="text-sm font-semibold leading-6 text-zinc-900 dark:text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-300"
>
<.icon name="hero-arrow-left-solid" class="h-3 w-3" />
<%= render_slot(@inner_block) %>
diff --git a/lib/music_library_web/live/record_live/import_component.ex b/lib/music_library_web/live/record_live/import_component.ex
index cf501010..f63207bd 100644
--- a/lib/music_library_web/live/record_live/import_component.ex
+++ b/lib/music_library_web/live/record_live/import_component.ex
@@ -112,7 +112,7 @@ defmodule MusicLibraryWeb.RecordLive.ImportComponent do
JS.push("import", value: %{id: @release_group.id, format: format}, page_loading: true)
}
>
- <%= Records.Record.format_short_label(format) %>
+ <%= Records.Record.format_long_label(format) %>
diff --git a/lib/music_library_web/live/record_live/show.html.heex b/lib/music_library_web/live/record_live/show.html.heex
index a2f571db..0aae07f5 100644
--- a/lib/music_library_web/live/record_live/show.html.heex
+++ b/lib/music_library_web/live/record_live/show.html.heex
@@ -1,69 +1,93 @@
-<.header>
- <.link
- :for={artist <- @record.artists}
- class=" hover:text-gray-500"
- patch={~p"/records?query=mbid:#{artist.musicbrainz_id}"}
- >
- <%= artist.name %>
+
-
+
+

-
- <%= Records.Record.format_short_label(@record.format) %>
-
- <.list>
- <:item title={gettext("Type")}>
-
- <%= @record.type %>
-
-
- <:item title={gettext("Musicbrainz ID")}>
-
- <%= @record.musicbrainz_id %>
-
-
- <:item title={gettext("Release")}>
- <%= Records.Record.format_release(@record.release) %>
-
- <:item title={gettext("Genres")}>
-
+
+ <.link
+ :for={artist <- @record.artists}
+ class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300"
+ patch={~p"/records?query=mbid:#{artist.musicbrainz_id}"}
>
- <%= genre %>
-
-
- <:item title={gettext("Purchased at")}><%= @record.purchased_at %>
- <:item title={gettext("Inserted at")}><%= @record.inserted_at %>
- <:item title={gettext("Updated at")}><%= @record.updated_at %>
-
+ <%= artist.name %>
+
+
+
+ <%= @record.title %>
+
+
+ <%= Records.Record.format_release(@record.release) %> · <%= Records.Record.format_long_label(
+ @record.format
+ ) %> · <%= Records.Record.type_long_label(@record.type) %>
+
+
+
+
+
+
-
+ <%= gettext("Genres") %>
+
+ -
+ <%= Enum.join(@record.genres, ", ") %>
+
+
+
+
+
-
+ <%= gettext("Purchased on") %>
+
+ -
+ <%= @record.purchased_at %>
+
+
+
+
-
+ <%= gettext("Inserted at") %>
+
+ -
+ <%= @record.inserted_at %>
+
+
+
+
-
+ <%= gettext("Updated at") %>
+
+ -
+ <%= @record.updated_at %>
+
+
+
+
diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot
index e5955801..91392cdc 100644
--- a/priv/gettext/default.pot
+++ b/priv/gettext/default.pot
@@ -123,7 +123,6 @@ msgid "No cover selected"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:50
-#: lib/music_library_web/live/record_live/show.html.heex:63
#, elixir-autogen, elixir-format
msgid "Purchased at"
msgstr ""
@@ -135,7 +134,6 @@ msgid "Record updated successfully"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:45
-#: lib/music_library_web/live/record_live/show.html.heex:52
#: lib/music_library_web/live/wishlist_live/show.html.heex:52
#, elixir-autogen, elixir-format
msgid "Release"
@@ -152,7 +150,6 @@ msgid "Saving..."
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:33
-#: lib/music_library_web/live/record_live/show.html.heex:42
#: lib/music_library_web/live/wishlist_live/show.html.heex:42
#, elixir-autogen, elixir-format
msgid "Type"
@@ -174,7 +171,7 @@ msgid "Search for records"
msgstr ""
#: lib/music_library_web/live/record_live/index.html.heex:166
-#: lib/music_library_web/live/record_live/show.html.heex:20
+#: lib/music_library_web/live/record_live/show.html.heex:9
#: lib/music_library_web/live/wishlist_live/index.html.heex:176
#: lib/music_library_web/live/wishlist_live/show.html.heex:20
#, elixir-autogen, elixir-format
@@ -182,7 +179,7 @@ msgid "Are you sure?"
msgstr ""
#: lib/music_library_web/live/record_live/index.html.heex:168
-#: lib/music_library_web/live/record_live/show.html.heex:23
+#: lib/music_library_web/live/record_live/show.html.heex:12
#: lib/music_library_web/live/wishlist_live/index.html.heex:178
#: lib/music_library_web/live/wishlist_live/show.html.heex:23
#, elixir-autogen, elixir-format
@@ -192,7 +189,7 @@ msgstr ""
#: lib/music_library_web/live/record_live/index.ex:54
#: lib/music_library_web/live/record_live/index.html.heex:157
#: lib/music_library_web/live/record_live/show.ex:50
-#: lib/music_library_web/live/record_live/show.html.heex:15
+#: lib/music_library_web/live/record_live/show.html.heex:4
#: lib/music_library_web/live/wishlist_live/index.ex:55
#: lib/music_library_web/live/wishlist_live/index.html.heex:157
#: lib/music_library_web/live/wishlist_live/show.ex:50
@@ -266,30 +263,29 @@ msgstr ""
msgid "View on MusicBrainz"
msgstr ""
-#: lib/music_library_web/live/record_live/show.html.heex:71
+#: lib/music_library_web/live/record_live/show.html.heex:95
#, elixir-autogen, elixir-format
msgid "Back to records"
msgstr ""
-#: lib/music_library_web/live/record_live/show.html.heex:55
+#: lib/music_library_web/live/record_live/show.html.heex:49
#: lib/music_library_web/live/wishlist_live/show.html.heex:55
#, elixir-autogen, elixir-format
msgid "Genres"
msgstr ""
-#: lib/music_library_web/live/record_live/show.html.heex:64
+#: lib/music_library_web/live/record_live/show.html.heex:75
#: lib/music_library_web/live/wishlist_live/show.html.heex:63
#, elixir-autogen, elixir-format
msgid "Inserted at"
msgstr ""
-#: lib/music_library_web/live/record_live/show.html.heex:47
#: lib/music_library_web/live/wishlist_live/show.html.heex:47
#, elixir-autogen, elixir-format
msgid "Musicbrainz ID"
msgstr ""
-#: lib/music_library_web/live/record_live/show.html.heex:65
+#: lib/music_library_web/live/record_live/show.html.heex:83
#: lib/music_library_web/live/wishlist_live/show.html.heex:64
#, elixir-autogen, elixir-format
msgid "Updated at"
@@ -345,3 +341,13 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Types"
msgstr ""
+
+#: lib/music_library_web/live/record_live/show.html.heex:57
+#, elixir-autogen, elixir-format
+msgid "MusicBrainz ID"
+msgstr ""
+
+#: lib/music_library_web/live/record_live/show.html.heex:67
+#, elixir-autogen, elixir-format
+msgid "Purchased on"
+msgstr ""
diff --git a/test/music_library_web/live/record_show_test.exs b/test/music_library_web/live/record_show_test.exs
index e3ca18e6..685d4aa7 100644
--- a/test/music_library_web/live/record_show_test.exs
+++ b/test/music_library_web/live/record_show_test.exs
@@ -33,7 +33,7 @@ defmodule MusicLibraryWeb.RecordShowTest do
assert html =~ escape(record.title)
assert html =~ to_string(record.release)
- assert html =~ Record.format_short_label(record.format)
+ assert html =~ Record.format_long_label(record.format)
assert html =~ record.release
assert html =~ ~p"/covers/#{record.id}?vsn=#{record.cover_hash}"
assert html =~ Phoenix.HTML.Safe.to_iodata(record.purchased_at)