2016-02-25 11:06:10 +08:00
|
|
|
<div class="commit-row-info">
|
|
|
|
<% if !user_commit_rep(changeset.author_email).nil? %>
|
|
|
|
<a class="commit-author-link has_tooltip"> <span class="commit-author-name">
|
2016-08-03 15:06:10 +08:00
|
|
|
<%= image_tag(url_to_avatar(user_commit_rep(changeset.author_email)), :width => "20", :height => "20", :class => "fl portraitRadius mt2 ml4 mr5") %>
|
2016-02-25 11:06:10 +08:00
|
|
|
<%= link_to user_commit_rep(changeset.author_email), user_path(user_commit_rep(changeset.author_email)), :length => 30 %></span></a>提交于
|
|
|
|
<div class="committed_ago">
|
|
|
|
<time class="time_ago js-timeago" title="<%= changeset.created_at %>"><%= time_tag(changeset.created_at) %>前 </time>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<span class="commit-author-name"><%= changeset.author_email %></span>提交于
|
|
|
|
<div class="committed_ago">
|
|
|
|
<time class="time_ago js-timeago" title="<%= changeset.created_at %>"><%= time_tag(changeset.created_at) %> 前</time>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|