{{define "profile.html"}}{{template "head" .}} {{$u := .Body.U}}
{{template "avatar" (av $u.Name "l")}}

{{$u.Name}}

{{if $u.Sysop}}Staff member{{end}}
{{if $u.Sysop}}Administrator{{else}}{{group $u}}{{end}}{{if $u.Location}} · From {{$u.Location}}{{end}}
Joined
{{smfdate $u.Created}}
Last seen
{{if .Body.On}}{{range .Body.On}}On node {{.Num}} by {{.Via}}: {{.Activity}}{{end}}{{else}}{{ago $u.LastLogin}}{{end}}
Messages
{{num $u.Posts}}
Calls
{{num $u.Logins}}
Latest activity
{{if $u.About}}

About

{{$u.About}}
{{end}} {{template "foot" .}}{{end}}