<%= link_to "返回提交历史".html_safe, {:action => 'changes', :path => to_path_param(@path), :id => @project, :repository_id => @repository.identifier_param, :rev => @rev, :page => 1}, :class => "fl linkBlue2 mt3" %>

<%= @commit_details.message %>

关联Issue:

<% unless get_commit_issues(@commit_details.short_id, @project.id, 1).nil? %> <% get_commit_issues(@commit_details.short_id, @project.id, 1).each do |issue_id| %>
<% if issue_id == "more" %> <%= link_to "更多", {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => @commit_details.id}, :target => "_blank", :class => "commit_id_value mr5" %> <% else %> <%= link_to "##{issue_id}", issue_path(issue_id), :target => "_blank", :class => "commit_id_value mr5" %> <% end %>
<% end %> <% end %>
  • <%= render :partial => 'commit_details', :locals => {:changeset => @commit_details} %>
  • <% @commit_diff.each do |commit_diff| %>
    <%= commit_diff.new_path %>
    <%= render :partial => 'repositories/change_diff', :locals => {:change => commit_diff} %>
    <% end %>