{{define "user/comments.html"}} {{template "public_favicon_link" .}} {{.Title}} - {{T "site_name"}} {{template "custom-head-embed" .}} {{template "public/header_frag" .}}
{{template "user_sidebar" .}}

{{T "user_menu_my_comments"}}

{{T "user_pagehead_tip_comments"}}
{{if .Data.Rows}}
{{range .Data.Rows}} {{end}}
{{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}}
{{else}}

{{T "user_comments_empty"}}

{{T "user_comments_empty_hint"}}

{{T "browse_list_title"}}
{{end}} {{if gt .Data.Total 0}}
{{T "pager_total_prefix"}} {{.Data.Total}} {{T "pager_total_suffix"}}
{{end}} {{if gt .Data.TotalPages 1}} {{end}}
{{template "public/footer_frag" .}} {{end}}