socialforge/app/views/pull_requests/_pull_request_comments.html...

19 lines
878 B
Plaintext
Raw Normal View History

2016-08-09 14:00:36 +08:00
<!--<div class="merge-discussion-content">-->
<!--<a href="javascript:void(0);" class="link-blue mr15 fl">Hjqreturn</a><span class="fl fontGrey2">20小时前</span>-->
<!--<div class="cl"></div>-->
<!--<div class="merge-discussion-detail">回复内容</div>-->
<!--</div>-->
<% @comments.each do |comment| %>
<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" %>
<span class="fl fontGrey2"><%#= time_tag(comment.author.try(:created_at)) %>前</span>
<div class="cl"></div>
<div class="merge-discussion-detail"><%= comment.note %></div>
</div>
<% end %>
<div class="merge-discussion-input">
<textarea></textarea>
<a href="javascript:void(0);" class="BlueCirBtn">提 交</a>
</div>