rename "Admin Dashboard" to "Dashboard"

This commit is contained in:
Graham McIntire 2026-03-10 13:36:03 -05:00
parent 5fb5fea25e
commit 03487b1f55
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -1,7 +1,7 @@
<Layouts.admin flash={@flash} timezone={@timezone}>
<div class="space-y-6">
<div>
<h1 class="text-2xl font-bold text-gray-900 dark:text-white">{t("Admin Dashboard")}</h1>
<h1 class="text-2xl font-bold text-gray-900 dark:text-white">{t("Dashboard")}</h1>
<p class="text-gray-600 dark:text-gray-400">System overview and recent activity</p>
</div>

View file

@ -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