{{define "content"}} {{$l := .Data.List}}{{$csrf := .CSRF}} {{$back := printf "/policies/lists/%d" $l.ID}} {{$isBlack := eq $l.Kind "blacklist"}}
{{$l.Description}}
{{end}}| Domain | Match | Status | Comment | Added | Actions |
|---|---|---|---|---|---|
| {{.Domain}} | {{if .MatchSubdomains}} + subdomains {{else}} exact only {{end}} | {{if $isBlack}}Blocked{{else}}Allowed{{end}} | {{.Comment}} | {{timeAgo .CreatedAt}} | {{template "confirmform" dict "Action" (printf "/policies/domains/%d/delete" .ID) "CSRF" $csrf "ReturnTo" $back "Icon" "bi-trash" "Message" (printf "Remove %s from %s?" .Domain $l.Name)}} |