rename "Admin Dashboard" to "Dashboard"
This commit is contained in:
parent
5fb5fea25e
commit
03487b1f55
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue