Minor fixes
This commit is contained in:
parent
627efddf63
commit
2587de74df
15 changed files with 146 additions and 62 deletions
22
app/views/dashboard/_projects.html.haml
Normal file
22
app/views/dashboard/_projects.html.haml
Normal file
|
@ -0,0 +1,22 @@
|
|||
%div
|
||||
%h3
|
||||
%span.ico.projects
|
||||
Projects
|
||||
%small
|
||||
(most recent)
|
||||
%hr
|
||||
%div.dash_projects
|
||||
- projects.first(5).each do |project|
|
||||
%div.dash_project
|
||||
%h4
|
||||
= link_to project, :class => "project_link" do
|
||||
= truncate project.name, :length => 30
|
||||
%small
|
||||
last activity at
|
||||
= project.last_activity_date.stamp("Aug 25, 2011")
|
||||
|
||||
.right
|
||||
%small
|
||||
%strong= link_to "Browse Code »", tree_project_ref_path(project, project.root_ref), :class => "neib"
|
||||
%strong= link_to "Commits »", project_commits_path(project)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue