Live (In a Volcano) community card game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
1004 B

extends ../layouts/main
block content
.uk-margin
+renderSectionTitle('Content Reports')
if Array.isArray(reports) && (reports.length > 0)
.uk-overflow-auto
table.uk-table.uk-table-small.uk-table-hover
thead
tr
th Created
th Category
th Reporter
th Reason
th Content Type
th Content Author
tbody
each report in reports
tr
td.uk-table-link
a(href=`/admin/content-report/${report._id}`)= moment(report.created).fromNow()
td= report.category
td.uk-table-link
a(href=`/admin/user/${report.user._id}`)= report.user.username
td.uk-table-expand.uk-table-truncate= report.reason
td= report.resourceType.toLowerCase()
td
a(href=`/admin/user/${report.resource.author._id}`)= report.resource.author.username
else
div There are no reports.