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
      if user.created
        .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