{{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 .IsGrantee}}
Pro Tip: If you receive a lot of unsolicited private photo shares from people and you wish you could do something about that, check out the Privacy Settings for an option to limit who is allowed to share their private gallery with you. For example, you can limit it to Friends only or to people who you had previously sent a DM to.
{{end}} {{if not .IsGrantee}} {{end}}
{{SimplePager .Pager}}
{{range .Users}}
{{InputCSRF}}
{{template "avatar-64x64" .}} {{if $Root.FriendMap.Get .ID}}
Friends
{{end}} {{$LikedStats := $Root.LikedMap.Get .ID}} {{if $LikedStats.UserLikes}}
Liked
{{end}}

{{.NameOrUsername}} {{if eq .Visibility "private"}} {{end}}

{{.Username}} {{if not .Certified}} Not Certified! {{else if $Root.ShyMap.Get .ID}} Shy Account {{end}} {{if .IsAdmin}} Admin {{end}} {{$Root.PhotoCountMap.Get .ID}}

{{if not $Root.IsGrantee}}
{{if $Root.GranteeMap.Get .ID}} Sharing with me {{else}} Not sharing with me {{end}}
{{else}}
{{if $Root.GranteeMap.Get .ID}} I share with them {{else}} I do not share with them {{end}}
{{end}}
{{if $Root.IsGrantee}}
{{else}}
{{end}}
{{end}}
{{end}}