From 270762cdb68c54c9a6cb89f1cc2c7621a5f58ab3 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 16 Mar 2026 19:28:47 +0000 Subject: [PATCH] Move maintenance menu item, remove redundant title --- .../components/layouts/app.html.heex | 17 ++++++++--------- .../live/maintenance_live/index.ex | 5 +---- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/lib/music_library_web/components/layouts/app.html.heex b/lib/music_library_web/components/layouts/app.html.heex index f4f3238c..ac0f52e0 100644 --- a/lib/music_library_web/components/layouts/app.html.heex +++ b/lib/music_library_web/components/layouts/app.html.heex @@ -105,6 +105,14 @@ > {gettext("Online Store Templates")} + <.dropdown_nav + current_section={@current_section} + section={:maintenance} + route={~p"/dev/maintenance"} + icon="hero-wrench-screwdriver" + > + {gettext("Maintenance")} + <.dropdown_separator /> <.dropdown_link href={~p"/dev/dashboard"}> <.icon @@ -123,15 +131,6 @@ <.icon name="hero-bug-ant" class="h-4 w-4 mr-2" aria-hidden="true" data-slot="icon" /> {gettext("Errors")} - <.dropdown_link href={~p"/dev/maintenance"}> - <.icon - name="hero-wrench-screwdriver" - class="h-4 w-4 mr-2" - aria-hidden="true" - data-slot="icon" - /> - {gettext("Maintenance")} - <.dropdown_separator /> <.dropdown_link href={~p"/login"}> <.icon diff --git a/lib/music_library_web/live/maintenance_live/index.ex b/lib/music_library_web/live/maintenance_live/index.ex index 04b9bb98..bb4f3eea 100644 --- a/lib/music_library_web/live/maintenance_live/index.ex +++ b/lib/music_library_web/live/maintenance_live/index.ex @@ -18,10 +18,7 @@ defmodule MusicLibraryWeb.MaintenanceLive.Index do ~H"""
-

- {gettext("Maintenance")} -

-

+

{gettext("Records")}