2011-10-11 22:00:00 +02:00
|
|
|
- @projects.in_groups_of(3, false) do |projects|
|
|
|
|
- projects.each_with_index do |project, i|
|
2011-11-11 07:13:43 +01:00
|
|
|
%div.grid_1.projects_selector
|
2011-11-01 10:00:59 +01:00
|
|
|
%div{ :class => "project-box ui-box ui-box-big" }
|
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)
|
2011-10-28 13:41:39 +02:00
|
|
|
.data
|
2011-11-11 07:13:43 +01:00
|
|
|
%p.title.repository.git_url_wrapper
|
2011-10-28 13:41:39 +02:00
|
|
|
%span Repository:
|
2011-11-11 07:13:43 +01:00
|
|
|
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
|
2011-10-28 13:41:39 +02:00
|
|
|
%p.title.activity
|
|
|
|
%span Last Activity:
|
2011-12-20 07:24:14 +01:00
|
|
|
- if project.last_activity_date_cached
|
2011-12-21 08:48:23 +01:00
|
|
|
= project.last_activity_date_cached.stamp("Aug 24, 2011")
|
2011-12-20 07:24:14 +01:00
|
|
|
- else
|
|
|
|
Never
|
2011-11-05 21:16:13 +01:00
|
|
|
|
2011-10-28 13:41:39 +02:00
|
|
|
.buttons
|
2011-11-16 17:43:16 +01:00
|
|
|
%a.browse-code.button.yellow{:href => tree_project_ref_path(project, project.root_ref)} Browse code
|
2011-10-28 13:41:39 +02:00
|
|
|
%a.commits.button.green{:href => project_commits_path(project)} Commits
|