{{define "title"}}Friends of {{.User.Username}}{{end}} {{define "content"}}
{{$Root := .}}
Found {{.Pager.Total}} friend{{Pluralize64 .Pager.Total}} (page {{.Pager.Page}} of {{.Pager.Pages}}). {{if .CurrentUser.HasAdminScope "admin.changelog"}} Change Log {{end}}
{{SimplePager .Pager}}
{{range .Friends}}
{{InputCSRF}}
{{template "avatar-64x64" .}} {{if $Root.FriendMap.Get .ID}}
Friends
{{end}}

{{if ne .Status "active"}} {{.NameOrUsername}} {{else}} {{.NameOrUsername}} {{end}} {{if and $Root.CurrentUser.IsInnerCircle .InnerCircle}} {{end}} {{if eq .Visibility "private"}} {{end}}

{{.Username}}

{{if .GetProfileField "city"}}

{{.GetProfileField "city"}}

{{end}}

{{if or (ne .GetDisplayAge "n/a")}} {{.GetDisplayAge}} {{end}} {{if .GetProfileField "gender"}} {{.GetProfileField "gender"}} {{end}} {{if .GetProfileField "pronouns"}} {{.GetProfileField "pronouns"}} {{end}} {{if .GetProfileField "orientation"}} {{.GetProfileField "orientation"}} {{end}}

{{end}}
{{SimplePager .Pager}}
{{end}}