diff --git a/lib/music_library_web/components/record_components.ex b/lib/music_library_web/components/record_components.ex index 05371aea..6df958ad 100644 --- a/lib/music_library_web/components/record_components.ex +++ b/lib/music_library_web/components/record_components.ex @@ -139,20 +139,6 @@ defmodule MusicLibraryWeb.RecordComponents do <.focus_wrap id={"actions-#{record.id}-focus-wrap"} class="pointer-events-auto"> - <.dropdown_link id={"actions-#{record.id}-show"} navigate={@record_show_path.(record)}> - {gettext("Show")} - - - {gettext("View on MusicBrainz")} - - <.dropdown_link id={"actions-#{record.id}-edit"} patch={@record_edit_path.(record)}> {gettext("Edit")} @@ -274,20 +260,6 @@ defmodule MusicLibraryWeb.RecordComponents do /> <.focus_wrap id={"actions-#{record.id}-focus-wrap"}> - <.dropdown_link id={"actions-#{record.id}-show"} navigate={@record_show_path.(record)}> - {gettext("Show")} - - - {gettext("View on MusicBrainz")} - - <.dropdown_link id={"actions-#{record.id}-edit"} patch={@record_edit_path.(record)}> {gettext("Edit")} @@ -302,12 +274,12 @@ defmodule MusicLibraryWeb.RecordComponents do > {gettext("Purchased")} - + <.dropdown_separator /> <.dropdown_link id={"actions-#{record.id}-delete"} phx-click={JS.push("delete", value: %{id: record.id}) |> hide("##{id}")} data-confirm={gettext("Are you sure?")} - class="text-red-900 hover:bg-red-50 dark:text-red-700 dark:hover:bg-red-900/30 dark:hover:text-red-600" + class="text-red-900! hover:bg-red-50! dark:text-red-500! dark:hover:bg-red-900/30! dark:hover:text-red-600!" > {gettext("Delete")} diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 937def88..61f85348 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -165,7 +165,6 @@ msgstr "" msgid "Search" msgstr "" -#: lib/music_library_web/components/record_components.ex #: lib/music_library_web/live/collection_live/show.ex #: lib/music_library_web/live/wishlist_live/show.ex #, elixir-autogen, elixir-format @@ -209,11 +208,6 @@ msgstr "" msgid "Updated at" msgstr "" -#: lib/music_library_web/components/record_components.ex -#, elixir-autogen, elixir-format -msgid "View on MusicBrainz" -msgstr "" - #: lib/music_library_web/controllers/session_html/new.html.heex #, elixir-autogen, elixir-format msgid "Welcome to your Music Library" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index f4da45b8..fe09a8ed 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -165,7 +165,6 @@ msgstr "" msgid "Search" msgstr "" -#: lib/music_library_web/components/record_components.ex #: lib/music_library_web/live/collection_live/show.ex #: lib/music_library_web/live/wishlist_live/show.ex #, elixir-autogen, elixir-format @@ -209,11 +208,6 @@ msgstr "" msgid "Updated at" msgstr "" -#: lib/music_library_web/components/record_components.ex -#, elixir-autogen, elixir-format -msgid "View on MusicBrainz" -msgstr "" - #: lib/music_library_web/controllers/session_html/new.html.heex #, elixir-autogen, elixir-format msgid "Welcome to your Music Library"