diff --git a/lib/music_library_web/controllers/stats_html/index.html.heex b/lib/music_library_web/controllers/stats_html/index.html.heex index 086f006a..1c050fd4 100644 --- a/lib/music_library_web/controllers/stats_html/index.html.heex +++ b/lib/music_library_web/controllers/stats_html/index.html.heex @@ -1,10 +1,10 @@
-

+

<%= gettext("Basics") %>

@@ -13,7 +13,7 @@ src={~p"/covers/#{@latest_record.id}"} alt={@latest_record.title} /> -

+

<%= gettext("Latest purchase") %>

@@ -21,37 +21,43 @@

<.link :for={artist <- @latest_record.artists} - class="text-sm md:text-base lg:text-2xl text-gray-900 hover:text-gray-500" + class="text-sm md:text-base lg:text-2xl text-gray-900 hover:text-gray-500 dark:text-gray-300 dark:hover:text-gray-200" patch={~p"/records?query=mbid:#{artist.musicbrainz_id}"} > <%= artist.name %> - + <%= @latest_record.title %>

-
+
-

+

<%= gettext("Total collection") %>

- + <%= @collection_count %>
-
+
-

+

<%= gettext("Total wishlist") %>

- + <%= @wishlist_count %>
@@ -60,17 +66,20 @@
-

+

<%= gettext("Formats") %>

-
+
-
+
<%= Record.format_long_label(format) %>
@@ -80,17 +89,20 @@
-

+

<%= gettext("Types") %>

-
+
-
+
<%= Record.type_long_label(type) %>