Remove flash message for client error
This commit is contained in:
@@ -154,18 +154,6 @@ defmodule MusicLibraryWeb.CoreComponents do
|
|||||||
<div id={@id}>
|
<div id={@id}>
|
||||||
<.flash kind={:info} title={gettext("Success!")} flash={@flash} />
|
<.flash kind={:info} title={gettext("Success!")} flash={@flash} />
|
||||||
<.flash kind={:error} title={gettext("Error!")} flash={@flash} />
|
<.flash kind={:error} title={gettext("Error!")} flash={@flash} />
|
||||||
<.flash
|
|
||||||
id="client-error"
|
|
||||||
kind={:error}
|
|
||||||
title={gettext("We can't find the internet")}
|
|
||||||
phx-disconnected={show(".phx-client-error #client-error")}
|
|
||||||
phx-connected={hide("#client-error")}
|
|
||||||
hidden
|
|
||||||
>
|
|
||||||
{gettext("Attempting to reconnect")}
|
|
||||||
<.icon name="hero-arrow-path" class="ml-1 h-3 w-3 animate-spin" />
|
|
||||||
</.flash>
|
|
||||||
|
|
||||||
<.flash
|
<.flash
|
||||||
id="server-error"
|
id="server-error"
|
||||||
kind={:error}
|
kind={:error}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/core_components.ex:512
|
#: lib/music_library_web/components/core_components.ex:500
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Actions"
|
msgid "Actions"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -23,11 +23,6 @@ msgstr ""
|
|||||||
msgid "Are you sure?"
|
msgid "Are you sure?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/core_components.ex:165
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Attempting to reconnect"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/music_library_web/live/stats_live/index.html.heex:3
|
#: lib/music_library_web/live/stats_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Basics"
|
msgid "Basics"
|
||||||
@@ -100,7 +95,7 @@ msgstr ""
|
|||||||
msgid "Genres"
|
msgid "Genres"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/core_components.ex:177
|
#: lib/music_library_web/components/core_components.ex:165
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Hang in there while we get back on track"
|
msgid "Hang in there while we get back on track"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -252,7 +247,7 @@ msgstr ""
|
|||||||
msgid "Showing <b>%{visible}</b> of <b>%{total}</b> records"
|
msgid "Showing <b>%{visible}</b> of <b>%{total}</b> records"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/core_components.ex:172
|
#: lib/music_library_web/components/core_components.ex:160
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Something went wrong!"
|
msgid "Something went wrong!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -307,11 +302,6 @@ msgstr ""
|
|||||||
msgid "View on MusicBrainz"
|
msgid "View on MusicBrainz"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/core_components.ex:160
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "We can't find the internet"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/music_library_web/controllers/session_html/new.html.heex:5
|
#: lib/music_library_web/controllers/session_html/new.html.heex:5
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Welcome to your Music Library"
|
msgid "Welcome to your Music Library"
|
||||||
|
|||||||
Reference in New Issue
Block a user