Move unified diff parser out of the scm abstract adapter so it can be reused for viewing attached diffs (#1403).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1513 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<% end %>
|
||||
|
||||
<% cache(@cache_key) do -%>
|
||||
<% @diff.each do |table_file| -%>
|
||||
<% Redmine::UnifiedDiff.new(@diff, @diff_type).each do |table_file| -%>
|
||||
<div class="autoscroll">
|
||||
<% if @diff_type == 'sbs' -%>
|
||||
<table class="filecontent CodeRay">
|
||||
|
||||
Reference in New Issue
Block a user