comparison app/helpers/repositories_helper.rb @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents e248c7af89ec
children a1bdbf8a87d5
comparison
equal deleted inserted replaced
1516:b450a9d58aed 1517:dffacf8a6908
41 content_tag('ul', content.html_safe, :class => 'properties') 41 content_tag('ul', content.html_safe, :class => 'properties')
42 end 42 end
43 end 43 end
44 44
45 def render_changeset_changes 45 def render_changeset_changes
46 changes = @changeset.filechanges.limit(1000).reorder('path').all.collect do |change| 46 changes = @changeset.filechanges.limit(1000).reorder('path').collect do |change|
47 case change.action 47 case change.action
48 when 'A' 48 when 'A'
49 # Detects moved/copied files 49 # Detects moved/copied files
50 if !change.from_path.blank? 50 if !change.from_path.blank?
51 change.action = 51 change.action =