Removed unused dropdown links
This commit is contained in:
@@ -139,20 +139,6 @@ defmodule MusicLibraryWeb.RecordComponents do
|
|||||||
</div>
|
</div>
|
||||||
</:toggle>
|
</:toggle>
|
||||||
<.focus_wrap id={"actions-#{record.id}-focus-wrap"} class="pointer-events-auto">
|
<.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")}
|
|
||||||
</.dropdown_link>
|
|
||||||
<a
|
|
||||||
href={MusicBrainz.ReleaseGroup.url(record.musicbrainz_id)}
|
|
||||||
target=".blank"
|
|
||||||
class="block px-3 py-1 text-sm leading-6 text-zinc-900 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:text-zinc-300 dark:hover:bg-zinc-700"
|
|
||||||
role="menuitem"
|
|
||||||
tabindex="0"
|
|
||||||
id={"actions-#{record.id}-musicbrainz"}
|
|
||||||
>
|
|
||||||
{gettext("View on MusicBrainz")}
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<.dropdown_link id={"actions-#{record.id}-edit"} patch={@record_edit_path.(record)}>
|
<.dropdown_link id={"actions-#{record.id}-edit"} patch={@record_edit_path.(record)}>
|
||||||
{gettext("Edit")}
|
{gettext("Edit")}
|
||||||
</.dropdown_link>
|
</.dropdown_link>
|
||||||
@@ -274,20 +260,6 @@ defmodule MusicLibraryWeb.RecordComponents do
|
|||||||
/>
|
/>
|
||||||
</:toggle>
|
</:toggle>
|
||||||
<.focus_wrap id={"actions-#{record.id}-focus-wrap"}>
|
<.focus_wrap id={"actions-#{record.id}-focus-wrap"}>
|
||||||
<.dropdown_link id={"actions-#{record.id}-show"} navigate={@record_show_path.(record)}>
|
|
||||||
{gettext("Show")}
|
|
||||||
</.dropdown_link>
|
|
||||||
<a
|
|
||||||
href={MusicBrainz.ReleaseGroup.url(record.musicbrainz_id)}
|
|
||||||
target=".blank"
|
|
||||||
class="block px-3 py-1 text-sm leading-6 text-zinc-900 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:text-zinc-300 dark:hover:bg-zinc-700"
|
|
||||||
role="menuitem"
|
|
||||||
tabindex="0"
|
|
||||||
id={"actions-#{record.id}-musicbrainz"}
|
|
||||||
>
|
|
||||||
{gettext("View on MusicBrainz")}
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<.dropdown_link id={"actions-#{record.id}-edit"} patch={@record_edit_path.(record)}>
|
<.dropdown_link id={"actions-#{record.id}-edit"} patch={@record_edit_path.(record)}>
|
||||||
{gettext("Edit")}
|
{gettext("Edit")}
|
||||||
</.dropdown_link>
|
</.dropdown_link>
|
||||||
@@ -302,12 +274,12 @@ defmodule MusicLibraryWeb.RecordComponents do
|
|||||||
>
|
>
|
||||||
{gettext("Purchased")}
|
{gettext("Purchased")}
|
||||||
</.dropdown_link>
|
</.dropdown_link>
|
||||||
|
<.dropdown_separator />
|
||||||
<.dropdown_link
|
<.dropdown_link
|
||||||
id={"actions-#{record.id}-delete"}
|
id={"actions-#{record.id}-delete"}
|
||||||
phx-click={JS.push("delete", value: %{id: record.id}) |> hide("##{id}")}
|
phx-click={JS.push("delete", value: %{id: record.id}) |> hide("##{id}")}
|
||||||
data-confirm={gettext("Are you sure?")}
|
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")}
|
{gettext("Delete")}
|
||||||
</.dropdown_link>
|
</.dropdown_link>
|
||||||
|
|||||||
@@ -165,7 +165,6 @@ msgstr ""
|
|||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/record_components.ex
|
|
||||||
#: lib/music_library_web/live/collection_live/show.ex
|
#: lib/music_library_web/live/collection_live/show.ex
|
||||||
#: lib/music_library_web/live/wishlist_live/show.ex
|
#: lib/music_library_web/live/wishlist_live/show.ex
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@@ -209,11 +208,6 @@ msgstr ""
|
|||||||
msgid "Updated at"
|
msgid "Updated at"
|
||||||
msgstr ""
|
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
|
#: lib/music_library_web/controllers/session_html/new.html.heex
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Welcome to your Music Library"
|
msgid "Welcome to your Music Library"
|
||||||
|
|||||||
@@ -165,7 +165,6 @@ msgstr ""
|
|||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/components/record_components.ex
|
|
||||||
#: lib/music_library_web/live/collection_live/show.ex
|
#: lib/music_library_web/live/collection_live/show.ex
|
||||||
#: lib/music_library_web/live/wishlist_live/show.ex
|
#: lib/music_library_web/live/wishlist_live/show.ex
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@@ -209,11 +208,6 @@ msgstr ""
|
|||||||
msgid "Updated at"
|
msgid "Updated at"
|
||||||
msgstr ""
|
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
|
#: lib/music_library_web/controllers/session_html/new.html.heex
|
||||||
#, 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