gitlabhq/app/views/projects/_tile.html.haml
2011-10-28 14:41:39 +03:00

18 lines
764 B
Plaintext

- @projects.in_groups_of(3, false) do |projects|
- projects.each_with_index do |project, i|
%div.grid_1
%div{ :class => "project-box ui-box ui-box-big", :style => i == 2 ? "" : "margin-right:30px;" }
= link_to project_path(project) do
%h3= project.name
.data
%p.title.repository
%span Repository:
= project.url_to_repo
%p.title.activity
%span Last Activity:
- last_note = project.notes.last
= last_note ? last_note.created_at.stamp("24 Aug, 2011") : "Never"
.buttons
%a.browse-code.button.yellow{:href => tree_project_path(project)} Browse code
%a.commits.button.green{:href => project_commits_path(project)} Commits