From 03487b1f557cc8fd38976f8c2332146ec4478029 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 10 Mar 2026 13:36:03 -0500 Subject: [PATCH] rename "Admin Dashboard" to "Dashboard" --- lib/towerops_web/live/admin/dashboard_live.ex | 2 +- lib/towerops_web/live/admin/dashboard_live.html.heex | 2 +- test/towerops_web/live/admin/dashboard_live_test.exs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/towerops_web/live/admin/dashboard_live.ex b/lib/towerops_web/live/admin/dashboard_live.ex index 0bb81159..39ac62d8 100644 --- a/lib/towerops_web/live/admin/dashboard_live.ex +++ b/lib/towerops_web/live/admin/dashboard_live.ex @@ -10,7 +10,7 @@ defmodule ToweropsWeb.Admin.DashboardLive do def mount(_params, _session, socket) do {:ok, socket - |> assign(:page_title, t("Admin Dashboard")) + |> assign(:page_title, t("Dashboard")) |> assign(:timezone, socket.assigns.current_scope.timezone)} end diff --git a/lib/towerops_web/live/admin/dashboard_live.html.heex b/lib/towerops_web/live/admin/dashboard_live.html.heex index 5d3b7780..9b5d33c3 100644 --- a/lib/towerops_web/live/admin/dashboard_live.html.heex +++ b/lib/towerops_web/live/admin/dashboard_live.html.heex @@ -1,7 +1,7 @@
-

{t("Admin Dashboard")}

+

{t("Dashboard")}

System overview and recent activity

diff --git a/test/towerops_web/live/admin/dashboard_live_test.exs b/test/towerops_web/live/admin/dashboard_live_test.exs index 5954f034..a6706a7e 100644 --- a/test/towerops_web/live/admin/dashboard_live_test.exs +++ b/test/towerops_web/live/admin/dashboard_live_test.exs @@ -22,7 +22,7 @@ defmodule ToweropsWeb.Admin.DashboardLiveTest do test "renders admin dashboard for superuser", %{conn: conn} do {:ok, _view, html} = live(conn, ~p"/admin") - assert html =~ "Admin Dashboard" + assert html =~ "Dashboard" end test "shows user and org counts", %{conn: conn} do