Show record count by format in stats dashboard

This commit is contained in:
Claudio Ortolina
2024-10-02 21:26:21 +01:00
parent 6edbb7e057
commit 62d792a244
4 changed files with 28 additions and 2 deletions
@@ -24,6 +24,9 @@
</dt>
<dd class="ml-16 flex items-baseline pb-6 sm:pb-7">
<p class="text-2xl font-semibold text-gray-900"><%= @records_count %></p>
<p class="ml-2 flex items-baseline text-sm font-medium">
<%= format_records_count(@records_count_by_format) %>
</p>
<div class="absolute inset-x-0 bottom-0 bg-gray-50 px-4 py-4 sm:px-6">
<div class="text-sm">
<a href={~p"/records"} class="font-medium text-zinc-600 hover:text-zinc-500">