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