{{define "title"}}Untitled{{end}} {{define "content"}}{{end}} {{define "scripts"}}{{end}} {{define "base"}} {{- if eq .WebsiteTheme "light" -}} {{- else if eq .WebsiteTheme "dark" -}} {{- else -}} {{- end -}} {{- if and .LoggedIn (.CurrentUser.GetProfileField "website-theme-hue") }} {{- $WebsiteThemeHue := .CurrentUser.GetProfileField "website-theme-hue" }} {{- if or (eq .WebsiteTheme "dark") (ne .WebsiteTheme "light") -}} {{- end -}} {{- end -}} {{template "title" .}} - {{ .Title }} {{if .LoggedIn}}
{{if .CurrentUser.Certified}} {{if gt .NavChatStatistics.UserCount 0}} {{FormatNumberShort .NavChatStatistics.UserCount}} {{end}} {{end}} {{if gt .NavFriendRequests 0}} {{FormatNumberShort .NavFriendRequests}} {{end}} {{if gt .NavUnreadMessages 0}} {{FormatNumberShort .NavUnreadMessages}} {{end}} {{if gt .NavUnreadNotifications 0}} {{FormatNumberShort .NavUnreadNotifications}} {{end}} {{if gt .NavAdminNotifications 0}} {{if and (.NavCertificationPhotos) (not .NavAdminFeedback)}} {{FormatNumberShort .NavAdminNotifications}} {{else if and .NavCertificationPhotos .NavAdminFeedback}} {{FormatNumberShort .NavAdminNotifications}} {{else}} {{FormatNumberShort .NavAdminNotifications}} {{end}} {{end}}
{{end}}
{{if .Flashes}}
{{range .Flashes}}
{{.}}
{{end}}
{{end}} {{if .Errors}}
{{range .Errors}}
{{.}}
{{end}}
{{end}} {{template "content" .}}
© {{.YYYY}} {{.Title}}
{{if .LoggedIn}} {{else}} {{end}}
{{RunTime .Request}}
{{if not .SessionImpersonated -}} {{- /* Disable web push script if impersonated, so an admin doesn't subscribe to user's notifications */ -}} {{- end}} {{template "scripts" .}} {{template "like-modal"}} {{template "right-click-modal" .}}
Loading...
{{end}}