<% unless @changes.blank? %> <% @changes.each do |cd| %>
<%= cd['new_path'] %>
<% line_num = diff_line_num(cd['diff']) %> <% diff_content = diff_content(cd['diff']) %> <% syntax_highlight_lines('new_path', Redmine::CodesetUtil.to_utf8_by_setting(diff_content)).each do |line| %> <% if line[0,1] == "-" %> <% elsif line[0,1] == "+" %> <% else%> <% end %> <% line_num += 1 %> <% end %>
<%= line_num %>
<%= line.html_safe %>
<%= line.html_safe %>
<%= line.html_safe %>
<% end %> <% end %>