Help message for wiki, styled projects page

This commit is contained in:
Dmitriy Zaporozhets 2012-02-21 22:04:01 +02:00
parent ce8eba8913
commit 1c22d4f50f
11 changed files with 71 additions and 32 deletions

View file

@ -1,11 +1,13 @@
- @projects.in_groups_of(2, false) do |projects|
.row
- projects.each_with_index do |project, i|
%div.span5.well.padded
= link_to project_path(project) do
%h3= truncate(project.name, :length => 28)
%p
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
%a.btn.info{:href => tree_project_ref_path(project, project.root_ref)} Browse code
%a.btn{:href => project_commits_path(project)} Commits
%div.project_tile
.title
= link_to project_path(project) do
%h3= truncate(project.name, :length => 28)
.data
%p
%input{ :value => project.url_to_repo, :class => ['git-url', 'one_click_select', 'text', 'project_list_url'], :readonly => 'readonly' }
.buttons
%a.btn.info{:href => tree_project_ref_path(project, project.root_ref)} Browse code
%a.btn{:href => project_commits_path(project)} Commits