{{define "title"}}Message Inbox{{end}} {{define "content"}}
{{if .ViewThread}}Conversation with {{.ReplyTo.Username}}{{else}}Inbox{{end}}
{{$SourceUser.NameOrUsername}} {{if $SourceUser.IsAdmin}} Admin {{end}}
{{$SourceUser.Username}} {{if not $SourceUser.Certified}} Not Certified! {{end}}
You have {{.Unread}} unread message{{Pluralize64 .Unread}}. Select a message on the other column to read the conversation here.
{{if eq .Box "threads"}} Conversations {{else if eq .Box "inbox"}} All Inbox Messages {{else}} Sent Messages {{end}}
{{if eq $Root.Box "sent"}}
{{$User := $UserMap.Get .TargetUserID}}
Sent To
{{template "avatar-24x24" $User}}
{{$User.Username}}
{{else}}
{{$User := $UserMap.Get .SourceUserID}}
From
{{template "avatar-24x24" $User}}
{{$User.Username}}
{{end}}
|