|
|
|
@ -25,6 +25,7 @@
|
|
|
|
|
}
|
|
|
|
|
$(function() {
|
|
|
|
|
init_activity_KindEditor_data(<%= @topic.id%>,null,"85%");
|
|
|
|
|
showNormalImage('message_description_<%= @topic.id %>');
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<div class="postRightContainer ml10" onmouseover="$('#message_setting_<%= @topic.id%>').show();" onmouseout="$('#message_setting_<%= @topic.id%>').hide();">
|
|
|
|
@ -73,7 +74,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="postDetailDate mb5"><%= format_time( @topic.created_on)%></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="memo-content upload_img break_word" style="word-break: break-all; word-wrap:break-word;margin-bottom: 0px !important;" >
|
|
|
|
|
<div class="memo-content upload_img break_word" id="message_description_<%= @topic.id %>" style="word-break: break-all; word-wrap:break-word;margin-bottom: 0px !important;" >
|
|
|
|
|
<%= @topic.content.html_safe%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -97,6 +98,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="" id="reply_div_<%= @topic.id %>">
|
|
|
|
|
<% @replies.each_with_index do |reply,i| %>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
showNormalImage('reply_message_description_<%= reply.id %>');
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<div class="homepagePostReplyContainer" onmouseover="$('#reply_edit_menu_<%= reply.id%>').show();" onmouseout="$('#reply_edit_menu_<%= reply.id%>').hide();">
|
|
|
|
|
<div class="homepagePostReplyPortrait">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(reply.author), :width => 33,:height => 33), user_path(reply.author) %>
|
|
|
|
@ -109,7 +115,9 @@
|
|
|
|
|
<%= link_to reply.try(:author).try(:realname), user_path(reply.author_id,:host=>Setting.host_user), :class => "newsBlue mr10 f14" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyContent upload_img break_word"><%= reply.content.html_safe%></div>
|
|
|
|
|
<div class="homepagePostReplyContent upload_img break_word" id="reply_message_description_<%= reply.id %>">
|
|
|
|
|
<%= reply.content.html_safe%>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: -7px; margin-bottom: 5px">
|
|
|
|
|
<%= format_time(reply.created_on) %>
|
|
|
|
|
<div class="fr" id="reply_edit_menu_<%= reply.id%>" style="display: none">
|
|
|
|
|