extends ../../layouts/main block content include ../components/list-item include ../../../components/pagination-bar .uk-card.uk-card-default.uk-card-small.uk-margin .uk-card-header h1.uk-card-title span i.fas.fa-id-card span.uk-margin-small-left User Archives .uk-card-body if Array.isArray(archive.archives) && (archive.archives.length > 0) table.uk-table.uk-table-divider.uk-table-justify thead tr th Username th User ID th Created th Archive tbody each record in archive.archives tr td= record.user.username td= record.user._id td= moment(record.created).format('MMMM DD, YYYY, [at] h:mm a') td span i.fas.fa-file-archive a(href=`/admin/user/archive/${record._id}`).uk-margin-small-left View Archive else div There are no user archives. if Array.isArray(archive.archives) && (archive.archives.length > 0) .uk-card-footer +renderPaginationBar('/admin/user/archive', archive.totalArchiveCount) .uk-margin .uk-text-small.uk-text-muted.uk-text-center User accounts referenced on this page have been removed from the database and are no longer able to use #{site.name}.