Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « users « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3b5aa3996bb221566dab5c9e9b78bc399aa2568f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%table
  %tr
    %th Admin
    %th Name
    %th Email
    %th Projects
    %th
    %th
    %th

  - @admin_users.each do |user|
    %tr
      %td= check_box_tag "admin",   1, user.admin, :disabled => :disabled
      %td= link_to user.name, [:admin, user]
      %td= user.email
      %td= user.users_projects.count
      %td= link_to 'Show', [:admin, user]
      %td= link_to 'Edit', edit_admin_user_path(user), :id => "edit_#{dom_id(user)}"
      %td= link_to 'Destroy', [:admin, user], :confirm => 'Are you sure?', :method => :delete

%br

= paginate @admin_users
= link_to 'New User', new_admin_user_path