Redesign record show page

This commit is contained in:
Claudio Ortolina
2024-10-26 23:03:07 +01:00
parent 750dae431b
commit 60ae641902
5 changed files with 100 additions and 70 deletions
@@ -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)