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

index.html.haml « projects « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55c41ec31bb55bdd68f371ba4bd4c67a12ef1030 (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
%table
  %tr
    %th Name
    %th Code
    %th Path
    %th Team Members
    %th Last Commit
    %th
    %th
    %th

  - @admin_projects.each do |project|
    %tr
      %td= project.name
      %td= project.code
      %td= project.path
      %td= project.users_projects.count
      %td= last_commit(project)
      %td= link_to 'Show', [:admin, project]
      %td= link_to 'Edit', edit_admin_project_path(project), :id => "edit_#{dom_id(project)}"
      %td= link_to 'Destroy', [:admin, project], :confirm => 'Are you sure?', :method => :delete

%br

= paginate @admin_projects
= link_to 'New Project', new_admin_project_path