project dashboard updated

This commit is contained in:
Dmitriy Zaporozhets 2011-11-09 01:56:10 +02:00
parent 1d85197b08
commit a44e329222
7 changed files with 62 additions and 139 deletions

View file

@ -12,7 +12,7 @@ module DashboardHelper
when "Commit" then project_commit_path(project, :id => note.noteable_id)
else wall_project_path(project)
end
else "#"
else wall_project_path(project)
end
rescue
"#"
@ -23,7 +23,7 @@ module DashboardHelper
when "Note" then markdown(object.note)
when "Issue" then object.title
when "Grit::Commit" then object.safe_message
else ""
else return "Project Wall"
end
"[#{object.class.name}] #{truncate(sanitize(title, :tags => []), :length => 60)} "
end