{{define "title"}}Friends{{end}} {{define "content"}}
{{$Root := .}}
{{if .IsPending}} You have sent {{.Pager.Total}} friend request{{Pluralize64 .Pager.Total}} which {{Pluralize64 .Pager.Total "has" "have"}} not been approved yet. {{else}} You have {{.Pager.Total}} friend{{if .IsRequests}} request{{end}}{{Pluralize64 .Pager.Total}} (page {{.Pager.Page}} of {{.Pager.Pages}}). {{end}}
{{range .Friends}}
{{InputCSRF}}

{{.NameOrUsername}}

{{.Username}} {{if not .Certified}} Not Certified! {{end}} {{if .IsAdmin}} Admin {{end}}

{{if $Root.IsRequests}}
{{else}}
{{end}}
{{end}}
{{end}}