32 lines
2.4 KiB
Plaintext
32 lines
2.4 KiB
Plaintext
<div class="reply-banner" id="reply_banner_<%=user_activity_id %>">
|
||
<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>
|
||
<% if expand_more %>
|
||
<div class="homepagePostReplyBannerMore">
|
||
<% if activity.class.to_s == 'Issue' %>
|
||
<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" >
|
||
展开更多
|
||
</a>
|
||
<% elsif activity.class.to_s == 'Message' %>
|
||
<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" >
|
||
展开更多
|
||
</a>
|
||
<% elsif activity.class.to_s == 'TrainingTask' %>
|
||
<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_training_task',<%= user_activity_id %>)" data-count="<%= count %>" data-init="0" class=" replyGrey" href="javascript:void(0)" value="show_help" >
|
||
展开更多
|
||
</a>
|
||
<% else %>
|
||
<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" >
|
||
展开更多
|
||
</a>
|
||
<% end %>
|
||
</div>
|
||
<% end %>
|
||
</div> |