Show message for no records for day
This commit is contained in:
@@ -161,6 +161,12 @@ defmodule MusicLibraryWeb.StatsComponents do
|
||||
id="records"
|
||||
phx-update="stream"
|
||||
>
|
||||
<li
|
||||
id="no-records-on-this-day"
|
||||
class="hidden py-8 only:flex items-center justify-center text-sm text-zinc-500 dark:text-zinc-400"
|
||||
>
|
||||
{gettext("No records released on this day.")}
|
||||
</li>
|
||||
<li
|
||||
:for={{id, record} <- @records}
|
||||
phx-click={JS.navigate(@record_show_path.(record))}
|
||||
|
||||
@@ -1305,3 +1305,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Scrobbles"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/stats_components.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "No records released on this day."
|
||||
msgstr ""
|
||||
|
||||
@@ -1305,3 +1305,8 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Scrobbles"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/stats_components.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "No records released on this day."
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user