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

index.html.haml « groups « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25ce66575bfa79def312b6315fcfa9b0dbea7ce2 (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
25
26
27
28
29
30
31
32
33
34
35
%h3.page_title
  Groups
  %small
    allows you to keep projects organized.
    Use groups for uniting related projects.

  = link_to 'New Group', new_admin_group_path, class: "btn btn-small pull-right"
%br
= form_tag admin_groups_path, method: :get, class: 'form-inline' do
  = text_field_tag :name, params[:name], class: "xlarge"
  = submit_tag "Search", class: "btn submit btn-primary"

%table
  %thead
    %tr
      %th
        Name
        %i.icon-sort-down
      %th Path
      %th Projects
      %th Owner
      %th.cred Danger Zone!

  - @groups.each do |group|
    %tr
      %td
        %strong= link_to group.name, [:admin, group]
      %td= group.path
      %td= group.projects.count
      %td
        = link_to group.owner_name, admin_user_path(group.owner_id)
      %td.bgred
        = link_to 'Rename', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: "btn btn-small"
        = link_to 'Destroy', [:admin, group], confirm: "REMOVE #{group.name}? Are you sure?", method: :delete, class: "btn btn-small btn-remove"
= paginate @groups, theme: "admin"