This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

_team_member.html.haml 900 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
1
- user = member.user
2
%li{id: dom_id(user), class: "team_member_row access-#{member.human_access.downcase}"}
3
  .pull-right
4
5
6
7
8
9
10
11
    - if current_user_can_admin_project
      - unless @project.personal? && user == current_user
        .pull-left
          = form_for(member, as: :team_member, url: project_team_member_path(@project, member.user)) do |f|
            = f.select :project_access, options_for_select(UsersProject.access_roles, member.project_access), {}, class: "medium project-access-select span2 trigger-submit"
           
        = link_to project_team_member_path(@project, user), confirm: remove_from_project_team_message(@project, user), method: :delete, class: "btn-tiny btn btn-remove", title: 'Remove user from team' do
          %i.icon-minus.icon-white
12
13
14
15
  = image_tag gravatar_icon(user.email, 32), class: "avatar s32"
  %p
    %strong= user.name
  %span.cgray= user.username
16

17