2011-10-11 16:00:00 -04:00
|
|
|
- @projects.in_groups_of(3, false) do |projects|
|
|
|
|
- projects.each_with_index do |project, i|
|
2011-11-11 01:13:43 -05:00
|
|
|
%div.grid_1.projects_selector
|
2011-11-01 05:00:59 -04:00
|
|
|
%div{ :class => "project-box ui-box ui-box-big" }
|
2011-11-15 03:34:30 -05:00
|
|
|
= link_to project_path(project) do
|
2011-11-11 02:36:01 -05:00
|
|
|
%h3= truncate(project.name, :length => 20)
|
2011-10-28 07:41:39 -04:00
|
|
|
.data
|
2011-11-11 01:13:43 -05:00
|
|
|
%p.title.repository.git_url_wrapper
|
2011-10-28 07:41:39 -04:00
|
|
|
%span Repository:
|
2011-11-11 01:13:43 -05:00
|
|
|
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
|
2011-10-28 07:41:39 -04:00
|
|
|
%p.title.activity
|
|
|
|
%span Last Activity:
|
|
|
|
- last_note = project.notes.last
|
|
|
|
= last_note ? last_note.created_at.stamp("24 Aug, 2011") : "Never"
|
2011-11-05 16:16:13 -04:00
|
|
|
|
2011-11-07 12:48:58 -05:00
|
|
|
%p.small-tags= tag_list project
|
2011-11-05 16:16:13 -04:00
|
|
|
|
2011-10-28 07:41:39 -04:00
|
|
|
.buttons
|
|
|
|
%a.browse-code.button.yellow{:href => tree_project_path(project)} Browse code
|
|
|
|
%a.commits.button.green{:href => project_commits_path(project)} Commits
|