修改Gitlab接口返回创建时间

This commit is contained in:
huang 2016-08-11 11:11:49 +08:00
parent a9942fd4b3
commit 41ad5ca444
1 changed files with 1 additions and 1 deletions

View File

@ -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>