{{define "user/articles.html"}}
{{template "public_favicon_link" .}}| {{T "col_title"}} | {{T "user_articles_col_format"}} | {{T "col_uploaded"}} | {{T "col_status"}} | {{T "col_actions"}} |
|---|---|---|---|---|
| {{if eq .Status 2}} {{.Title}} {{else}} {{.Title}} {{end}} | {{.FormatLabel}} | {{if .CreatedHuman}}{{.CreatedHuman}}{{else}}{{unixTime .CreatedAt}}{{end}} | {{if eq .Status 0}}{{T "article_status_draft"}}{{end}} {{if eq .Status 1}}{{T "article_status_pending"}}{{end}} {{if eq .Status 2}}{{T "article_status_published"}}{{end}} {{if eq .Status 3}}{{T "article_status_rejected"}}{{end}} {{if and (eq .Status 3) .RejectReason}} {{.RejectReason}} {{end}} | {{$hasMenu := or .CanEdit .CanDelete}} |