% @commits.chunk { |c| format_date(c.created_at).to_date }.each do |day, commits| %>
<%= day %>
<%= commits.count %>个提交
<%= commit.title %>
<%= link_to truncate(commit.short_id, :length => 20), {:controller => 'repositories', :action => 'commit_diff', :id => @project.id, :changeset => commit.id}, :target => "_blank", :class => "fr mr15 c_grey" %>