|
|
|
@ -29,11 +29,18 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="recordBanner mt10">
|
|
|
|
|
<% if @changesets && !@changesets.empty? %>
|
|
|
|
|
<%= image_tag(url_to_avatar(user_commit_rep(@changesets_latest_coimmit.author_email)), :width => "25", :height => "25", :class => "fl portraitRadius mt2 ml4 mr5") %>
|
|
|
|
|
<span class="fl"><div class="fb fontGrey3 mr5 fl"><%=link_to user_commit_rep(@changesets_latest_coimmit.author_email), user_path(user_commit_rep(@changesets_latest_coimmit.author_email)) %></div>
|
|
|
|
|
<div class="fl">提交于<%= time_tag(@changesets_latest_coimmit.created_at) %>:</div>
|
|
|
|
|
<div class="commit_content_dec fl" title="<%= @changesets_latest_coimmit.comments %>"><%= @changesets_latest_coimmit.message %></div>
|
|
|
|
|
</span>
|
|
|
|
|
<% 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") %>
|
|
|
|
|
<span class="fl"><div class="fb fontGrey3 mr5 fl"><%=link_to user_commit_rep(@changesets_latest_coimmit.author_email), user_path(user_commit_rep(@changesets_latest_coimmit.author_email)) %></div>
|
|
|
|
|
<div class="fl">提交于<%= time_tag(@changesets_latest_coimmit.created_at) %>:</div>
|
|
|
|
|
<div class="commit_content_dec fl" title="<%= @changesets_latest_coimmit.comments %>"><%= @changesets_latest_coimmit.message %></div>
|
|
|
|
|
</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span class="fl"><div class="fb fontGrey3 mr5 fl"><%=@changesets_latest_coimmit.author_email %></div>
|
|
|
|
|
<div class="fl">提交于<%= time_tag(@changesets_latest_coimmit.created_at) %>:</div>
|
|
|
|
|
<div class="commit_content_dec fl" title="<%= @changesets_latest_coimmit.comments %>"><%= @changesets_latest_coimmit.message %></div>
|
|
|
|
|
</span>
|
|
|
|
|
<%end%>
|
|
|
|
|
<% end %>
|
|
|
|
|
<span class="fr mr5 "><font class="fb ml2 mr2 vl_branch mt2">
|
|
|
|
|
<%= @repository.branches.count %></font> 个分支
|
|
|
|
|