|
|
|
@ -33,10 +33,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
<% count = fetch_user_leaveWord_reply(activity).count %>
|
|
|
|
|
<div class="homepagePostReply">
|
|
|
|
|
<div class="topBorder" style="display: <%= count>0 ? 'none': '' %>"></div>
|
|
|
|
|
<div class="homepagePostReplyBanner" style="display: <%= count>0 ? '': 'none' %>">
|
|
|
|
|
<div class="homepagePostReplyBannerCount">
|
|
|
|
|
回复(<%= count %>)
|
|
|
|
|
<div class="homepagePostReplyBanner">
|
|
|
|
|
<div class="homepagePostReplyBannerCount">回复
|
|
|
|
|
<sapn class="mr15"><%= count>0 ? "(#{count})" : "" %></sapn><span style="color: #cecece;">▪</span>
|
|
|
|
|
<span id="praise_count_<%=user_activity_id %>">
|
|
|
|
|
<%=render :partial=> "praise_tread/praise", :locals => {:activity=>activity, :user_activity_id=>user_activity_id,:type=>"activity"}%>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyBannerTime"></div>
|
|
|
|
|
<%if count>3 %>
|
|
|
|
@ -72,6 +74,9 @@
|
|
|
|
|
<%= link_to comment.try(:user).try(:realname), user_path(comment.user_id), :class => "newsBlue mr10 f14" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= format_time(comment.created_on) %>
|
|
|
|
|
<span id="reply_praise_count_<%=comment.id %>">
|
|
|
|
|
<%=render :partial=> "praise_tread/praise", :locals => {:activity=>comment, :user_activity_id=>comment.id,:type=>"reply"}%>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyContent break_word list_style upload_img table_maxWidth" id="reply_content_<%= comment.id %>">
|
|
|
|
|
<%= comment.notes.html_safe %>
|
|
|
|
|