summaryrefslogtreecommitdiffstats
path: root/client/components/users/avatar.jade
blob: 70ef69e01ee9197c0d8a4196a689b1942803b48b (plain)
1
2
3
4
5
6
7
template(name="userAvatar")
  .member(class="{{class}} {{# if draggable }}js-member{{else}}js-member-on-card-menu{{/if}}"
    title="{{userData.profile.name}} ({{userData.username}})")
    +avatar(user=userData size=size)
    if showBadges
      span.member-status(class="{{# if userData.profile.status}}active{{/if}}")
      span.member-type(class=memberType)