{{define "title"}}{{say "admin.title"}}{{end}} {{define "content"}}

{{say "admin.title"}}

{{/* The tally, in the bill's own hand. Confirmed rows only: a pending row is an address nobody has proven owns it, joined to a stated position, which is the pair this app takes most care with. */}}

{{len .Rows}} {{say "admin.confirmed"}} · {{.Pending}} {{say "admin.pending"}}

{{range $key, $count := .Counts}}{{$count}} {{say (printf "stance.%s.label" $key)}}{{end}}

{{say "admin.export"}}

{{range .Rows}} {{else}} {{end}}
{{say "admin.col.name"}} {{say "admin.col.email"}} {{say "admin.col.stance"}} {{say "admin.col.when"}} {{say "admin.col.background"}}
{{.Name}} {{.Email}} {{say (printf "stance.%s.label" .Stance)}} {{.When.Format "2006-01-02"}} {{.Background}}
{{say "admin.empty"}}
{{end}}