{{define "title"}}{{.User.Username}}{{end}} {{define "content"}}
{{if .User.ProfilePhoto.ID}} {{else}} {{end}} {{if eq .CurrentUser.ID .User.ID}} {{end}}

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

{{if ne .User.Status "active"}}

({{.User.Status}})

{{end}}
Member since: {{SincePrettyCoarse .User.CreatedAt}} ago
Last logged in: {{SincePrettyCoarse .User.LastLoginAt}} ago
{{if .User.Certified}}
Certified!
{{else}}
Not certified!
{{end}} {{if .User.IsAdmin}}
Admin
{{end}}
{{InputCSRF}}
{{InputCSRF}}
{{if .IsPrivate}}
This member's profile page is private. You may send them a friend request, and only if approved, you may then view their profile page and photo gallery.
{{else}}
{{or (ToMarkdown (.User.GetProfileField "about_me")) "n/a"}}
{{or (ToMarkdown (.User.GetProfileField "interests")) "n/a"}}
{{or (ToMarkdown (.User.GetProfileField "music_movies")) "n/a"}}

About {{.User.Username}}

Age: {{if not .User.Birthdate.IsZero}} {{ComputeAge .User.Birthdate}} {{else}} n/a {{end}}
Gender: {{or (.User.GetProfileField "gender") "n/a"}} {{.User.GetProfileField "pronouns"}}
City: {{or (.User.GetProfileField "city") "n/a"}}
Job: {{or (.User.GetProfileField "job") "n/a"}}
Marital status: {{or (.User.GetProfileField "marital_status") "n/a"}} {{if .User.GetProfileField "relationship_type"}}({{.User.GetProfileField "relationship_type"}}){{end}}
Orientation: {{or (.User.GetProfileField "orientation") "n/a"}}
Here for: {{range Split (.User.GetProfileField "here_for") ","}}
{{.}}
{{end}}
{{if .CurrentUser.IsAdmin}} {{end}}
{{end}}
{{end}}