{{/* Page anatomy: the empty state (docs/design-system.md ยง6; spec page-anatomy "One empty-state idiom"; branches and copy per empty-state-guidance). Pipeline: server.EmptyStateParams, computed in Go so the branch is never guessed in a template. The only template that renders an empty collection: a warning alert naming the missing prerequisite when Blocked, otherwise centered muted text with an optional note and an optional outline action. No borders, no boxes, no bare "No X found." Parsed into every set by web.ParseUIPartials; the searched-to-nothing state is the list scaffold's listNoMatch. */}} {{ define "emptyState" }} {{ if .Blocked }} {{ else }}

{{ .Headline }}

{{ if .Note }}

{{ .Note }}

{{ end }} {{ if .ActionURL }}{{ .ActionLabel }}{{ end }}
{{ end }} {{ end }}