extends ../layouts/main block content .uk-margin h1(style="line-height: 1em;").uk-margin-remove.uk-text-truncate 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.