Cleanup: NS-05/NS-06 + drop dead /repos nav link #24
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user