2016-10-19 10:17:56 +08:00
|
|
|
|
<div class="reply-banner" id="reply_banner_<%=user_activity_id %>">
|
2016-10-19 14:43:07 +08:00
|
|
|
|
<div class="homepagePostReplyBannerCount">
|
|
|
|
|
<span>回复</span>
|
|
|
|
|
<span class="reply_iconup" > ︿</span>
|
|
|
|
|
<span class="mr15"><%= count>0 ? "(#{count})" : "" %></span><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"><%#= format_date(activity.updated_on) %></div>
|
2016-11-25 09:59:03 +08:00
|
|
|
|
<% if expand_more %>
|
2016-10-19 14:43:07 +08:00
|
|
|
|
<div class="homepagePostReplyBannerMore">
|
2016-10-27 10:06:58 +08:00
|
|
|
|
<% if activity.class.to_s == 'Issue' %>
|
2016-10-27 14:57:12 +08:00
|
|
|
|
<a id="reply_btn_<%=user_activity_id%>" onclick="expand_reply_homework('#reply_div_<%= user_activity_id %> li','#reply_btn_<%=user_activity_id%>',<%= activity.id %>,'is_project_issue',<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
2016-10-19 14:43:07 +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_reply_homework('#reply_div_<%= user_activity_id %> li','#reply_btn_<%=user_activity_id%>',<%= activity.id %>,'is_project_message',<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
2016-10-19 14:43:07 +08:00
|
|
|
|
展开更多
|
|
|
|
|
</a>
|
|
|
|
|
<% else %>
|
2016-10-27 14:57:12 +08:00
|
|
|
|
<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 %>',<%=user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
2016-10-19 14:43:07 +08:00
|
|
|
|
展开更多
|
|
|
|
|
</a>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|