gitlabhq/app/views/projects/_tile.html.haml

21 lines
934 B
Plaintext
Raw Normal View History

2011-10-11 22:00:00 +02:00
- @projects.in_groups_of(3, false) do |projects|
- projects.each_with_index do |project, i|
%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
%h3= truncate(project.name, :length => 20)
.data
%p.title.repository.git_url_wrapper
%span Repository:
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
%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 21:16:13 +01:00
2011-11-07 18:48:58 +01:00
%p.small-tags= tag_list project
2011-11-05 21:16:13 +01:00
.buttons
%a.browse-code.button.yellow{:href => tree_project_path(project)} Browse code
%a.commits.button.green{:href => project_commits_path(project)} Commits