ML-174: add empty action to record set dropdown menu
Add RecordSets.empty_record_set/1 that bulk-deletes all items in a set via a single DELETE query and returns the reloaded empty set. Add Empty button with confirmation prompt to both index and show view dropdowns.
This commit is contained in:
@@ -2535,3 +2535,20 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Release Group"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Empty"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Remove all records from this set?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Set emptied"
|
||||
msgstr ""
|
||||
|
||||
@@ -2535,3 +2535,20 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Release Group"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Empty"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Remove all records from this set?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Set emptied"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user