mixin participants(questStart)
  -var isMember = 'group.quest.members[member._id]'
  table.table.table-striped.quest-participants
    tr(ng-repeat='member in group.members track by member._id',
      ng-if='#{!questStart} || #{isMember}')
      td
        span(ng-if=':: group.quest.leader && group.quest.leader==member._id') *&nbsp;
        a: span(ng-click='clickMember(member._id, true)') {{::member.profile.name}}

      if !questStart
        td.accepted(ng-if='#{isMember} === true')=env.t('accepted')
        td.rejected(ng-if='#{isMember} === false')=env.t('rejected')
        td(ng-if='#{isMember} !== true && #{isMember} !== false')=env.t('pending')

  span="* " + env.t('questOwner')
