gitlab-org--gitlab-foss/app/views/admin/projects/index.html.haml
2011-11-21 02:26:10 -05:00

22 lines
622 B
Text

%table
%thead
%th Name
%th Code
%th Path
%th Team Members
%th Last Commit
%th
%th
- @admin_projects.each do |project|
%tr
%td= link_to project.name, [:admin, project]
%td= project.code
%td= project.path
%td= project.users_projects.count
%td= last_commit(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
= paginate @admin_projects
= link_to 'New Project', new_admin_project_path, :class => "grey-button"