关联Commit

<% if @commits.blank? %> <%= render :partial => "projects/no_data" %> <% else %>
  •  分支  : 
<% @commits.each do |commit| %> <% end %>
  修订号 描述 提交者 提交日期
<%= link_to commit.id[0,8], {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit.id}, :target => "_blank" %>

<%= commit.message %>

<%= link_to_user_mail(commit.author_email) %> <%= format_date(commit.created_at) %>
    <%= pagination_links_full @commits_pages, @commits_count, :per_page_links => false, :remote => true, :flag => true, :is_new => true %>
<% end %>