From 172b830b6b11912bb2e7867cbfb49c17875c89b4 Mon Sep 17 00:00:00 2001 From: Graham McIntie Date: Sun, 15 Feb 2026 09:22:47 -0600 Subject: [PATCH] ui: add org settings and user settings to mobile nav --- lib/towerops_web/components/layouts.ex | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index a10f84d8..7089b115 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -580,8 +580,21 @@ defmodule ToweropsWeb.Layouts do - +
+

+ {t("Account")} +

+ <.mobile_nav_link + :if={@current_organization} + navigate={~p"/orgs/#{@current_organization.slug}/settings"} + active={@active_page == "settings"} + > + <.icon name="hero-cog-6-tooth" class="size-5" /> {t("Organization Settings")} + + <.mobile_nav_link navigate={~p"/users/settings"} active={@active_page == "user_settings"}> + <.icon name="hero-user-circle" class="size-5" /> {t("My Settings")} + <.mobile_nav_link navigate={~p"/help"} active={@active_page == "help"}> <.icon name="hero-question-mark-circle" class="size-5" /> {t("Help")}