<%= render :partial => 'breadcrumbs', :locals => {:path => @path, :kind => 'dir', :revision => @rev} %>

Commit <%= @commit_details.id %>
  • <%= render :partial => 'commit_details', :locals => {:changeset => @commit_details} %>
  • <%= @commit_details.message %>
    <% @commit_diff.each do |cd| %>
    <%= cd.new_path %>
    <% line_num = diff_line_num(cd.diff) %> <% diff_content = diff_content(cd.diff) %> <% syntax_highlight_lines(cd.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 %>