2012-01-27 23:51:02 +01:00
|
|
|
- @projects.in_groups_of(2, false) do |projects|
|
|
|
|
.row
|
|
|
|
- projects.each_with_index do |project, i|
|
|
|
|
.span4.well
|
2011-11-15 09:34:30 +01:00
|
|
|
= link_to project_path(project) do
|
2011-11-11 08:36:01 +01:00
|
|
|
%h3= truncate(project.name, :length => 20)
|
2012-01-27 23:51:02 +01:00
|
|
|
%p.title.repository.git_url_wrapper
|
|
|
|
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
|
2011-11-05 21:16:13 +01:00
|
|
|
|
2012-01-27 23:51:02 +01:00
|
|
|
%a.btn{:href => tree_project_ref_path(project, project.root_ref)} Browse code
|
|
|
|
%a.btn{:href => project_commits_path(project)} Commits
|