{{define "user/comments.html"}}
{{template "public_favicon_link" .}}| {{T "user_comments_col_item"}} | {{T "user_comments_col_content"}} | {{T "user_comments_col_time"}} | {{T "user_comments_col_status"}} | {{T "col_actions"}} |
|---|---|---|---|---|
| {{if and (.item_id) (eq (printf "%v" .item_status) "2")}} {{if .item_title}}{{.item_title}}{{else}}#{{.item_id}}{{end}} {{else if .item_title}} {{.item_title}} {{else}} — {{end}} | {{.content_prev}} |
{{if .created_human}}{{.created_human}}{{else}}{{.created_at}}{{end}} | {{if eq (printf "%v" .c_status) "1"}}{{T "user_comments_status_visible"}}{{end}} {{if eq (printf "%v" .c_status) "2"}}{{T "user_comments_status_pending"}}{{end}} {{if eq (printf "%v" .c_status) "3"}}{{T "user_comments_status_hidden"}}{{end}} |