{{define "title"}}Admin - Certification Photos{{end}} {{define "content"}} {{$Root := .}}

Admin / Certification Photos

{{if .Pager}} There {{Pluralize64 .Pager.Total "is" "are"}} {{.Pager.Total}} Certification Photo{{Pluralize64 .Pager.Total}} {{if eq .View "pending"}} needing approval. {{else}} at status "{{.View}}." {{end}} {{else if .FoundUser}} Found user {{.FoundUser.Username}} ({{.FoundUser.Email}}) {{end}}
Search username or email:
{{if .Pager}} {{SimplePager .Pager}} {{end}}
{{range .Photos}}
{{$User := $Root.UserMap.Get .UserID}}
{{InputCSRF}}
{{if $User.ProfilePhoto.ID}} {{else}} {{end}}

{{$User.NameOrUsername}}

{{$User.Username}}

Status:
{{if eq .Status "pending"}} Pending Approval {{else if eq .Status "approved"}} Approved {{else if eq .Status "rejected"}} Rejected {{else}} {{.Status}} {{end}}
{{end}}
{{end}}