{{range .ItemList}}
{{if js}}js{{/**{{ptmpl "topic_alt_userinfo" .}}**/}}{{else}}{{template "topic_alt_userinfo.html" . }}{{end}}
{{if .ActionType}} {{.ActionType}} {{else}}
{{.ContentHtml}}
{{if $.CurrentUser.Loggedin}}
{{.Content}}
{{if $.CurrentUser.Perms.EditReply}}
{{range .Attachments}}
{{if .Image}}{{end}} {{.Path}}
{{end}}
{{if $.CurrentUser.Perms.UploadFiles}} {{end}}
{{end}}{{end}}
{{if $.CurrentUser.Loggedin}} {{if $.CurrentUser.Perms.LikeItem}}{{if ne $.CurrentUser.ID .CreatedBy}} {{if .Liked}}{{else}} {{end}} {{end}}{{end}} {{if not $.Topic.IsClosed or $.CurrentUser.Perms.CloseTopic}} {{if $.CurrentUser.Perms.EditReply}}{{end}} {{end}} {{if .Deletable}}{{end}} {{if $.CurrentUser.Perms.ViewIPs}}{{end}} {{end}}
{{reltime .CreatedAt}} {{if $.CurrentUser.Loggedin}}{{if $.CurrentUser.Perms.ViewIPs}}{{end}}{{end}}
{{end}}
{{end}}