From f7e1eab31d389cab9f297fa24fe56cc844c368fd Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 22 Feb 2026 19:48:50 -0500 Subject: [PATCH] refactor(templates): fix admin sidebar navigation link Update admin dashboard sidebar to point to user administration page instead of profile settings: - Change link from /profile to /admin/users - Update label from 'Profile Settings' to 'User Administration' This completes the admin navigation refactoring to use dedicated admin pages instead of the main user profile page. --- templates/admin.templ | 4 ++-- templates/admin_templ.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/admin.templ b/templates/admin.templ index 8a675c2..d68c79a 100644 --- a/templates/admin.templ +++ b/templates/admin.templ @@ -21,8 +21,8 @@ templ Admin(user User) { 🏠 Dashboard - - 👤 Profile Settings + + 👤 User Administration 📚 Library Management diff --git a/templates/admin_templ.go b/templates/admin_templ.go index 42a952c..2c560b9 100644 --- a/templates/admin_templ.go +++ b/templates/admin_templ.go @@ -37,7 +37,7 @@ func Admin(user User) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "

Dashboard

Overview of your Bookhoard library and settings

📖

Library

Manage your ebook collection

View Library
⚙️

Settings

Configure your preferences

Manage Settings

Quick Actions

Manage Folders
Add or remove scan directories
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "

Dashboard

Overview of your Bookhoard library and settings

📖

Library

Manage your ebook collection

View Library
⚙️

Settings

Configure your preferences

Manage Settings

Quick Actions

Manage Folders
Add or remove scan directories
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }