9 changed files with 209 additions and 92 deletions
@ -0,0 +1,14 @@ |
|||||
|
mixin renderUserListItem (user) |
||||
|
div(uk-grid).uk-grid-small |
||||
|
.uk-width-auto |
||||
|
+renderProfileIcon(user) |
||||
|
.uk-width-expand |
||||
|
.uk-text-bold(style="line-height: 1;").uk-text-truncate= user.displayName || user.username |
||||
|
.uk-text-small.uk-text-muted |
||||
|
a(href= getUserProfileUrl(user))= user.username |
||||
|
.uk-text-small.uk-text-truncate= user.bio |
||||
|
.uk-text-small.uk-text-muted created #{moment(user.created).fromNow()} |
||||
|
.uk-width-auto |
||||
|
a(href=`/admin/user/local/${user._id}`, uk-tooltip={ title: 'Manage user account' }).uk-button.uk-button-default.uk-button-small.uk-border-rounded |
||||
|
span |
||||
|
i.fas.fa-wrench |
Loading…
Reference in new issue