Chris@0: <% diff = Redmine::UnifiedDiff.new(diff, :type => diff_type, :max_lines => Setting.diff_max_lines_displayed.to_i) -%> Chris@0: <% diff.each do |table_file| -%> Chris@0:
<%= table_file.file_name %> | |||
---|---|---|---|
... | ... | Chris@0: <% end -%> Chris@0: | |
<%= table_file[key].nb_line_left %> | Chris@0:
Chris@0: <%=to_utf8 table_file[key].line_left %>Chris@0: |
Chris@0: <%= table_file[key].nb_line_right %> | Chris@0:
Chris@0: <%=to_utf8 table_file[key].line_right %>Chris@0: |
Chris@0:
<%= table_file.file_name %> | |||
---|---|---|---|
... | ... | Chris@0: | |
<%= table_file[key].nb_line_left %> | Chris@0:<%= table_file[key].nb_line_right %> | Chris@0: <% if table_file[key].line_left.empty? -%> Chris@0:
Chris@0: <%=to_utf8 table_file[key].line_right %>Chris@0: |
Chris@0: <% else -%>
Chris@0:
Chris@0: <%=to_utf8 table_file[key].line_left %>Chris@0: |
Chris@0: <% end -%>
Chris@0: