|
|
|
@ -48,6 +48,11 @@
|
|
|
|
|
<div class="" id="reply_div_<%= user_activity_id %>">
|
|
|
|
|
<ul>
|
|
|
|
|
<% course.journals_for_messages.where('m_parent_id IS NULL').reorder("created_on desc").each do |comment| %>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
showNormalImage('reply_content_<%= comment.id %>');
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<% replies_all_i = replies_all_i + 1 %>
|
|
|
|
|
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i > 3 ? 'none' : '' %>">
|
|
|
|
|
<div class="homepagePostReplyPortrait">
|
|
|
|
@ -62,9 +67,14 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= format_time(comment.created_on) %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyContent break_word list_style upload_img" id="reply_content_<%= user_activity_id %>">
|
|
|
|
|
<div class="homepagePostReplyContent break_word list_style upload_img" id="reply_content_<%= comment.id %>">
|
|
|
|
|
<%= comment.notes.html_safe %></div>
|
|
|
|
|
<% fetch_user_leaveWord_reply(comment).each do |reply| unless fetch_user_leaveWord_reply(comment).nil? %>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
showNormalImage('reply_to_content_<%= reply.id %>');
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<div class="recall">
|
|
|
|
|
<div class="homepagePostReplyPortrait">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(reply.user), :width => "33", :height => "33", :class =>"mt8"), user_path(reply.user_id), :alt => "用户头像" %>
|
|
|
|
@ -84,7 +94,7 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= format_time reply.created_on %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyContent break_word list_style upload_img" style="max-width: 580px;" id="reply_content_<%= user_activity_id %>">
|
|
|
|
|
<div class="homepagePostReplyContent break_word list_style upload_img" style="max-width: 580px;" id="reply_to_content_<%= reply.id %>">
|
|
|
|
|
<%= reply.notes.html_safe %></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|