修改Gitlab接口返回创建时间
This commit is contained in:
parent
a9942fd4b3
commit
41ad5ca444
|
@ -8,7 +8,7 @@
|
||||||
<% @comments.reverse.each do |comment| %>
|
<% @comments.reverse.each do |comment| %>
|
||||||
<div class="merge-discussion-content merge-discussion-automatic">
|
<div class="merge-discussion-content merge-discussion-automatic">
|
||||||
<%= link_to comment.author.try(:username), user_path(get_user_by_login_and(comment.author.try(:username))), :class => "link-blue mr15 fl" %>
|
<%= link_to comment.author.try(:username), user_path(get_user_by_login_and(comment.author.try(:username))), :class => "link-blue mr15 fl" %>
|
||||||
<span class="fl fontGrey2"><%#= time_tag(comment.author.try(:created_at)) %>前</span>
|
<span class="fl fontGrey2"><%= time_tag(comment.created_at) %>前</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<div class="merge-discussion-detail"><%= comment.note %></div>
|
<div class="merge-discussion-detail"><%= comment.note %></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue