{{define "profile.html"}}{{template "head" .}} {{$u := .Body.U}} {{template "crumbs" .}} {{range $r := .Body.Recent}} {{else}} {{end}}
View Profile: {{$u.Name}}
Name:{{$u.Name}}
Posts:{{num $u.Posts}}
Position:{{template "yyrank" $u}} {{template "yystars" $u}}
Date Registered:{{template "yydate" $u.Created}}
Last visit:{{template "yydate" $u.LastLogin}}
Calls:{{num $u.Logins}}
Location:{{if $u.Location}}{{$u.Location}}{{else}}N/A{{end}}
Status:{{if .Body.On}}Online{{range .Body.On}} (node {{.Num}} by {{.Via}}: {{.Activity}}){{end}}{{else}}Offline{{end}}
Personal Text:{{if $u.About}}{{$u.About}}{{else}} {{end}}
Picture:{{template "avatar" (av $u.Name "huge")}}
Most recent posts
{{template "yydate" $r.Created}}{{$r.Subject}}
{{snippet $r.Body 160}}
No posts yet.
{{template "foot" .}}{{end}}