{{template "admin_hdr" .}}

{{T "admin_reports.t001"}}

{{T "page.admin_reports"}}

{{T "admin_reports.s002"}} {{T "js.s225"}} {{T "admin_reports.t002"}}
{{range .Reports}} {{$st := printf "%v" (index . "status")}} {{$reason := printf "%v" (index . "reason")}} {{else}} {{end}}
ID {{T "admin_reports.s003"}} {{T "page.categories"}} {{T "admin_reports.s004"}} {{T "admin_admins.t008"}} {{T "admin_feed_pool.s046"}}
{{if eq $st "0"}} {{end}} {{index . "id"}}
{{if eq (printf "%v" (index . "target_type")) "comment"}}{{T "thread.comments"}}{{else}}{{T "search.posts"}}{{end}} {{if index . "topic_url"}} {{index . "target_title"}} {{else}} {{index . "target_title"}} {{end}} {{T "reports.target_prefix"}}{{index . "target_id"}}{{if index . "target_post_id"}} · {{T "reports.post_prefix"}}{{index . "target_post_id"}}{{end}}
{{if eq $reason "spam"}}{{T "admin_reports.s005"}} {{else if eq $reason "harassment"}}{{T "admin_reports.s006"}} {{else if eq $reason "illegal"}}{{T "admin_reports.s007"}} {{else if eq $reason "offtopic"}}{{T "admin_reports.s008"}} {{else if eq $reason "other"}}{{T "admin_reports.s009"}} {{else}}{{$reason}}{{end}} {{if index . "detail"}}{{index . "detail"}}{{else}}—{{end}} {{if and (eq $st "2") (index . "handle_note")}}
{{T "reports.reject_colon"}}{{index . "handle_note"}}
{{end}}
{{if eq $st "0"}}{{T "admin_reports.s002"}} {{else if eq $st "1"}}{{T "js.s225"}} {{else if eq $st "2"}}{{T "admin_reports.t002"}} {{else}}{{$st}}{{end}} {{if eq $st "0"}}
{{else}} — {{end}}
{{T "admin_reports.t006"}}
{{template "admin_ftr" .}}