comparison app/helpers/.svn/text-base/application_helper.rb.svn-base @ 120:cd2282d2aa55 cannam

Merge from the default branch. Note that this is not a valid SVN repository any more (use default, redmine-1.1 etc for SVN updates).
author Chris Cannam
date Thu, 13 Jan 2011 14:33:08 +0000
parents af80e5618e9b 8661b858af72
children eeebe205a056
comparison
equal deleted inserted replaced
118:b859cc0c4fa1 120:cd2282d2aa55
649 link = link_to h(version.name), {:only_path => only_path, :controller => 'versions', :action => 'show', :id => version}, 649 link = link_to h(version.name), {:only_path => only_path, :controller => 'versions', :action => 'show', :id => version},
650 :class => 'version' 650 :class => 'version'
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.revision}, 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
658 when 'source', 'export' 658 when 'source', 'export'
659 if project && project.repository 659 if project && project.repository