<% if @changesets_latest_coimmit %> <% if !user_commit_rep(@changesets_latest_coimmit.author_email).nil? %> <%= image_tag(url_to_avatar(user_commit_rep(@changesets_latest_coimmit.author_email)), :width => "25", :height => "25", :class => "fl portraitRadius mt2 ml4 mr5") %>
提交于 <%= time_tag(@changesets_latest_coimmit.created_at) %> 前:
<%= @changesets_latest_coimmit.message %>
<% else %>
提交于<%= time_tag(@changesets_latest_coimmit.created_at) %>:
<%= @changesets_latest_coimmit.message %>
<%end%> <% end %> <% if @entry && @entry.kind == 'file' %> <%= render :partial => 'link_to_functions' %> <% else %> <%= @repository.branches.count %> 个分支 <% end %> <%=link_to "#{choise_commit_count(@changesets_all_count, @g_project.commit_count.to_i)} 提交", {:action => 'changes', :path => to_path_param(@path), :id => @project, :repository_id => @repository.identifier_param, :rev => @rev, :page => 1 ,:commit_count =>"#{@changesets_all_count}"} %>