_team.html.haml 408 Bytes
Newer Older
1 2 3
- grouped_user_team_members(team).each do |access, members|
  - access_key = Project.access_options.key(access)
  - next if params[:type].present? && params[:type] != access_key.tableize
4 5
  .ui-box
    %h5.title
6
      = access_key.pluralize
7
      %small= members.size
8 9 10
    %ul.well-list.team-members
      - members.sort_by(&:user_name).each do |member|
        = render 'teams/members/member', member: member