nav: drop dead /repos top-level link (repos are per-host, accessed via host sub-tab)
CI / Test (store) (pull_request) Successful in 6s
CI / Test (rest) (pull_request) Successful in 8s
CI / Build (windows/amd64) (pull_request) Successful in 8s
CI / Build (linux/amd64) (pull_request) Successful in 7s
CI / Lint (pull_request) Successful in 19s
CI / Build (linux/arm64) (pull_request) Successful in 7s
e2e / Playwright vs docker-compose (pull_request) Successful in 1m31s
CI / Test (server-http) (pull_request) Successful in 2m43s

This commit is contained in:
2026-05-09 11:59:08 +01:00
parent 3232c85667
commit c319c38038
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ type ViewData struct {
User *User
// Active is the slug of the currently active primary nav tab
// ("dashboard" / "repos" / "alerts" / "audit" / "settings").
// ("dashboard" / "alerts" / "audit" / "settings").
// The nav partial highlights the matching tab.
Active string
-1
View File
@@ -25,7 +25,6 @@
<div class="max-w-[1280px] mx-auto px-8 flex items-end justify-between">
<nav class="flex items-end">
<a href="/" class="nav-tab {{if eq .Active "dashboard"}}active{{end}}">Dashboard</a>
<a href="/repos" class="nav-tab {{if eq .Active "repos"}}active{{end}}">Repos</a>
<a href="/alerts" class="nav-tab {{if eq .Active "alerts"}}active{{end}}">Alerts{{if gt .OpenAlerts 0}} <span class="tag tag-critical mono ml-1">{{.OpenAlerts}}</span>{{end}}</a>
<a href="/audit" class="nav-tab {{if eq .Active "audit"}}active{{end}}">Audit</a>
<a href="/settings" class="nav-tab {{if eq .Active "settings"}}active{{end}}">Settings</a>