feat: add Profile link to admin nav
The admin nav had no way back to the account management area. Add a Profile link to /manage/profile, mirroring the Admin link already present in the manage nav. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3cbae6255b
commit
437ad59658
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
<nav class="admin-nav" aria-label="Administration">
|
<nav class="admin-nav" aria-label="Administration">
|
||||||
<span class="admin-badge">Admin</span>
|
<span class="admin-badge">Admin</span>
|
||||||
<a href="/admin/users" {% if active_page == "users" %}aria-current="page"{% endif %}>Users</a>
|
<a href="/admin/users" {% if active_page == "users" %}aria-current="page"{% endif %}>Users</a>
|
||||||
|
<a href="/manage/profile">Profile</a>
|
||||||
<button class="nav-logout" hx-post="/logout">Log out</button>
|
<button class="nav-logout" hx-post="/logout">Log out</button>
|
||||||
</nav>
|
</nav>
|
||||||
{% block admin_content %}{% endblock %}
|
{% block admin_content %}{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue