gitlab-org--gitlab-foss/app/views/projects/_tile.html.haml

12 lines
540 B
Text
Raw Normal View History

2012-01-27 17:51:02 -05:00
- @projects.in_groups_of(2, false) do |projects|
.row
- projects.each_with_index do |project, i|
2012-02-19 09:31:11 -05:00
%div.span5.well.padded
2011-11-15 03:34:30 -05:00
= link_to project_path(project) do
2012-02-19 09:31:11 -05:00
%h3= truncate(project.name, :length => 28)
%p
2012-01-27 17:51:02 -05:00
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
2011-11-05 16:16:13 -04:00
2012-02-19 09:31:11 -05:00
%a.btn.info{:href => tree_project_ref_path(project, project.root_ref)} Browse code
2012-01-27 17:51:02 -05:00
%a.btn{:href => project_commits_path(project)} Commits