nav: drop dead /repos top-level link (repos are per-host, accessed via host sub-tab)

This commit is contained in:
2026-05-09 11:59:08 +01:00
parent 8a7706407d
commit a9c47deb26
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>