@@ -651,7 +651,7 module ApplicationHelper | |||||
651 | end |
|
651 | end | |
652 | when 'commit' |
|
652 | when 'commit' | |
653 | if project && (changeset = project.changesets.find(:first, :conditions => ["scmid LIKE ?", "#{name}%"])) |
|
653 | if project && (changeset = project.changesets.find(:first, :conditions => ["scmid LIKE ?", "#{name}%"])) | |
654 |
link = link_to h("#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset. |
|
654 | link = link_to h("#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.identifier}, | |
655 | :class => 'changeset', |
|
655 | :class => 'changeset', | |
656 | :title => truncate_single_line(changeset.comments, :length => 100) |
|
656 | :title => truncate_single_line(changeset.comments, :length => 100) | |
657 | end |
|
657 | end |
General Comments 0
You need to be logged in to leave comments.
Login now