{{define "title"}}Private Photos{{end}} {{define "content"}}
{{$Root := .}}

Private Photos

{{if .IsGrantee}} {{.Pager.Total}} member{{Pluralize64 .Pager.Total}} {{Pluralize64 .Pager.Total "has" "have"}} granted you access to see their private photos {{else}} You have granted access to {{.Pager.Total}} member{{Pluralize64 .Pager.Total}} to see your private photos {{end}} (page {{.Pager.Page}} of {{.Pager.Pages}}).
{{if not .IsGrantee}} {{end}}
{{SimplePager .Pager}}
{{range .Users}}
{{InputCSRF}}
{{template "avatar-64x64" .}}

{{.NameOrUsername}}

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

{{if $Root.GranteeMap.Get .ID}} Sharing with me too {{else}} Not sharing with me {{end}}
{{if not $Root.IsGrantee}}
{{end}}
{{end}}
{{end}}