2016-07-25 13:56:26 +08:00
|
|
|
|
<div class="homepagePostReplyBanner" id="reply_banner_<%=user_activity_id %>">
|
2016-06-21 16:53:31 +08:00
|
|
|
|
<div class="homepagePostReplyBannerCount">
|
|
|
|
|
<span>回复</span>
|
|
|
|
|
<span class="reply_iconup" > ︿</span>
|
2016-09-22 16:12:32 +08:00
|
|
|
|
<span class="mr15"><%= count>0 ? "(#{count})" : "" %></span><span style="color: #cecece;">▪</span>
|
2016-06-21 16:53:31 +08:00
|
|
|
|
<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"><%#= format_date(activity.updated_on) %></div>
|
2016-11-25 09:59:03 +08:00
|
|
|
|
<%if expand_more %>
|
2016-06-21 16:53:31 +08:00
|
|
|
|
<div class="homepagePostReplyBannerMore">
|
2016-12-24 18:48:50 +08:00
|
|
|
|
<% if activity.class.to_s == 'HomeworkCommon' || activity.class.to_s == 'Work' %>
|
|
|
|
|
<a id="reply_btn_<%=user_activity_id%>" onclick="expand_reply_homework('#reply_div_<%= user_activity_id %> li','#reply_btn_<%=user_activity_id%>',<%= activity.id %>,'<%=activity.class %>',<%=activity.id %>,<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
2016-07-20 17:00:18 +08:00
|
|
|
|
展开更多
|
|
|
|
|
</a>
|
|
|
|
|
<% elsif activity.class.to_s == 'Message' %>
|
2016-11-25 09:59:03 +08:00
|
|
|
|
<a id="reply_btn_<%=user_activity_id%>" onclick="expand_all_reply('#reply_div_<%= user_activity_id %> li','#reply_btn_<%=user_activity_id%>',<%= activity.id %>,'<%=activity.class %>',<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
2016-07-20 17:00:18 +08:00
|
|
|
|
展开更多
|
|
|
|
|
</a>
|
|
|
|
|
<% elsif activity.class.to_s == 'BlogComment' %>
|
2016-11-25 09:59:03 +08:00
|
|
|
|
<a id="reply_btn_<%=user_activity_id%>" onclick="expand_all_reply('#reply_div_<%= user_activity_id %> li','#reply_btn_<%=user_activity_id%>',<%= activity.id %>,'<%=activity.class %>',<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
2016-07-20 17:00:18 +08:00
|
|
|
|
展开更多
|
|
|
|
|
</a>
|
|
|
|
|
<% else %>
|
|
|
|
|
<a id="reply_btn_<%=user_activity_id%>" onclick="expand_all_reply('#reply_div_<%= user_activity_id %> li','#reply_btn_<%=user_activity_id%>',<%= activity.id %>,'<%=activity.class %>',<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
|
|
|
|
展开更多
|
|
|
|
|
</a>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
2016-06-21 16:53:31 +08:00
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|