{{define "title"}}My Dashboard{{end}} {{define "content"}}

User Dashboard

to your account

{{if or (not .CurrentUser.Certified) (not .CurrentUser.ProfilePhoto.ID)}}

Onboarding Checklist

You're almost there! Please review the following checklist items to gain full access to this website. Members are expected to have a face picture as their default Profile Pic and upload a Verification Photo to become certified as being a real person.

{{end}}
{{$Root := .}}

Notifications

{{if gt .NavUnreadNotifications 0}} {{.NavUnreadNotifications}} unread notification{{Pluralize64 .NavUnreadNotifications}}. {{else}} No unread notifications. {{end}}
{{range .Notifications}} {{$Body := $Root.NotifMap.Get .ID}} {{end}}
{{if eq .Type "like"}} {{.User.Username}} liked your {{if eq .TableName "photos"}} photo. {{else if eq .TableName "users"}} profile page. {{else}} {{.TableName}}. {{end}} {{else}} {{.User.Username}} {{.Type}} {{.TableName}} {{.TableID}} {{end}}
{{if $Body.Photo}}
{{or $Body.Photo.Caption "No caption."}}
{{end}}
{{SincePrettyCoarse .CreatedAt}} ago
{{if $Body.PhotoID}}
{{if $Body.Photo.Caption}} {{$Body.Photo.Caption}} {{else}} No caption. {{end}}
{{end}}
{{if .Pager.HasNext}} {{end}}
{{end}}