|
|
@ -3,6 +3,7 @@ block content |
|
|
|
|
|
|
|
include user/components/list-item |
|
|
|
include ../chat/components/message |
|
|
|
include ../comment/components/comment |
|
|
|
|
|
|
|
div(uk-grid) |
|
|
|
div(class="uk-width-1-1 uk-width-auto@m") |
|
|
@ -49,6 +50,15 @@ block content |
|
|
|
else |
|
|
|
div There are no system-level moderators. |
|
|
|
|
|
|
|
h3 Recent Members |
|
|
|
if Array.isArray(recentMembers) && (recentMembers.length > 0) |
|
|
|
ul.uk-list.uk-list-divider |
|
|
|
each member in recentMembers |
|
|
|
li |
|
|
|
+renderUserListItem(member) |
|
|
|
else |
|
|
|
div There are no recent members. |
|
|
|
|
|
|
|
div(class="uk-width-1-1 uk-width-1-3@l") |
|
|
|
h3 Recent Chat |
|
|
|
if Array.isArray(recentChat) && (recentChat.length > 0) |
|
|
@ -66,14 +76,20 @@ block content |
|
|
|
div There is no recent chat. |
|
|
|
|
|
|
|
div(class="uk-width-1-1 uk-width-1-3@l") |
|
|
|
h3 Recent Members |
|
|
|
if Array.isArray(recentMembers) && (recentMembers.length > 0) |
|
|
|
h3 Recent Comments |
|
|
|
if Array.isArray(recentComments.comments) && (recentComments.comments.length > 0) |
|
|
|
ul.uk-list.uk-list-divider |
|
|
|
each member in recentMembers |
|
|
|
each comment in recentComments.comments |
|
|
|
li |
|
|
|
+renderUserListItem(member) |
|
|
|
div(uk-grid).uk-grid-small |
|
|
|
.uk-width-expand |
|
|
|
+renderComment(comment) |
|
|
|
.uk-width-auto |
|
|
|
a(href=`/admin/user/local/${comment.author._id}`, uk-tooltip={ title: 'Manage user account' }).uk-button.uk-button-default.uk-button-small.uk-border-rounded |
|
|
|
span |
|
|
|
i.fas.fa-wrench |
|
|
|
else |
|
|
|
div There are no recent members. |
|
|
|
div There are no recent comments. |
|
|
|
|
|
|
|
block viewjs |
|
|
|
script(src="/chart.js/chart.min.js") |
|
|
|