mixin renderUserListEntry (user, label)
  div(uk-grid).uk-grid-small
    div(class="uk-width-1-1 uk-width-auto@m")
      a(href= getUserProfileUrl(user))
        +renderProfileIcon(user, user.displayName || user.username, 'small')

    div(class="uk-width-1-1 uk-width-expand@m").no-select
      .uk-margin-small
        .uk-text-bold.dtp-text-tight= user.displayName || user.username
        .uk-text-small.dtp-text-tight @#{user.username}
      if label
        .uk-label= label