feat(panel): label the nav username with "User:"
test / test (push) Has been cancelled

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-09 21:18:49 +03:00
parent 6860f4523e
commit 4a54af15cc
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -10,6 +10,8 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version
- The panel's **Account** entry is now called **Settings** — nav link, page - The panel's **Account** entry is now called **Settings** — nav link, page
heading, and browser title. The route stays `/account`, so existing links heading, and browser title. The route stays `/account`, so existing links
and bookmarks are unaffected. and bookmarks are unaffected.
- The signed-in name in the panel's nav is now labelled `User:`, so it reads as
the current account rather than as a stray word above the Settings link.
### Fixed ### Fixed
+1 -1
View File
@@ -69,7 +69,7 @@
</div> </div>
{{template "sections" .}} {{template "sections" .}}
<div class="session"> <div class="session">
<span class="muted">{{.User}}</span> <span class="muted">User: {{.User}}</span>
{{if eq .Active "account"}}<span aria-current="page">{{template "icon-account"}}Settings</span>{{else}}<a href="/account">{{template "icon-account"}}Settings</a>{{end}} {{if eq .Active "account"}}<span aria-current="page">{{template "icon-account"}}Settings</span>{{else}}<a href="/account">{{template "icon-account"}}Settings</a>{{end}}
<form class="inline" method="post" action="/logout"> <form class="inline" method="post" action="/logout">
<button type="submit" class="danger">{{template "icon-sign-out"}}Sign out</button> <button type="submit" class="danger">{{template "icon-sign-out"}}Sign out</button>