{{/* Inbound > Filter lists (mockup in-filter-lists.html): the allow and deny lists that correct the spam filter by hand, for the whole instance, and where they go. Global role only. The form adds an entry; each row of a list removes its own. */}} {{define "content"}} {{template "page_head" .Head}} {{if .Flash}}{{template "flash" .Flash}}{{end}} {{template "box_open" .Add}} {{template "body_open"}}
{{template "body_close"}} {{template "box_close"}}
{{template "filter_list" .Deny}}
{{template "filter_list" .Allow}}
{{template "box_open" .Where}} {{template "body_open"}} {{template "facts" .WhereFacts}} {{template "body_close"}} {{template "box_close"}} {{end}} {{/* filter_list is one of the two boxes of entries (input: FilterList): the table, or what is absent when the list is empty. */}} {{define "filter_list"}}{{template "box_open" .Box}} {{if .Rows}}
{{range .Rows}} {{if .Note}}{{else}}{{end}}{{end}}
ValueNoteAdded
{{.Value}} {{template "tag" .Kind}}{{.Note}}—{{.Added}}{{template "row_action" .Remove}}
{{else}}{{template "empty_state" .Empty}} {{end}}{{template "box_close"}}{{end}}