Move database backup action to maintenance page

This commit is contained in:
Claudio Ortolina
2026-02-24 16:53:44 +00:00
parent 849dc07532
commit 65a2305f47
4 changed files with 5 additions and 11 deletions
@@ -100,15 +100,6 @@
/> />
{gettext("Online Store Templates")} {gettext("Online Store Templates")}
</.dropdown_link> </.dropdown_link>
<.dropdown_link href={~p"/backup"}>
<.icon
name="hero-archive-box-arrow-down"
class="h-4 w-4 mr-2"
aria-hidden="true"
data-slot="icon"
/>
{gettext("Backup")}
</.dropdown_link>
<.dropdown_separator /> <.dropdown_separator />
<.dropdown_link href={~p"/dev/dashboard"}> <.dropdown_link href={~p"/dev/dashboard"}>
<.icon <.icon
@@ -119,6 +119,9 @@
> >
{gettext("Optimize")} {gettext("Optimize")}
</.button> </.button>
<.button href={~p"/backup"}>
{gettext("Backup")}
</.button>
</.button_group> </.button_group>
</li> </li>
</ul> </ul>
+1 -1
View File
@@ -441,8 +441,8 @@ msgstr ""
msgid "Album" msgid "Album"
msgstr "" msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex
#: lib/music_library_web/components/record_components.ex #: lib/music_library_web/components/record_components.ex
#: lib/music_library_web/live/maintenance_live/index.html.heex
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Backup" msgid "Backup"
msgstr "" msgstr ""
+1 -1
View File
@@ -441,8 +441,8 @@ msgstr ""
msgid "Album" msgid "Album"
msgstr "" msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex
#: lib/music_library_web/components/record_components.ex #: lib/music_library_web/components/record_components.ex
#: lib/music_library_web/live/maintenance_live/index.html.heex
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Backup" msgid "Backup"
msgstr "" msgstr ""