|
|
|
@ -75,11 +75,7 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
|
|
<div class="postDetailCreater">
|
|
|
|
|
<% if @article.try(:author).try(:realname) == ' ' %>
|
|
|
|
|
<%= link_to @article.try(:author), user_path(@article.author,:host=>Setting.host_user), :class => "linkBlue2", :target=> "_blank" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to @article.try(:author).try(:realname), user_path(@article.author,:host=>Setting.host_user), :class => "linkBlue2", :target=> "_blank" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= link_to @article.author.show_name, user_path(@article.author,:host=>Setting.host_user), :class => "linkBlue2", :target=> "_blank" %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="postDetailDate mb5"><%= format_time( @article.created_on)%></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -109,11 +105,6 @@
|
|
|
|
|
<div class="homepagePostReplyBanner">
|
|
|
|
|
<div class="homepagePostReplyBannerCount">回复(<%=count %>)</div>
|
|
|
|
|
<div class="homepagePostReplyBannerTime"></div>
|
|
|
|
|
<!-- <div class="homepagePostReplyBannerMore">
|
|
|
|
|
<%# if @reply_count > 2%>
|
|
|
|
|
<a href="javascript:void(0);" class="replyGrey" id="reply_btn_<%#= @topic.id%>" onclick="expand_reply('#reply_div_<%#= @topic.id %>','#reply_btn_<%#= @topic.id%>')" data-count="<%#= @reply_count %>" data-init="0" >点击展开更多回复</a>
|
|
|
|
|
<%# end %>
|
|
|
|
|
</div>-->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="" id="reply_div_<%= @article.id %>">
|
|
|
|
|
<%@article.children.reorder('created_on desc').each_with_index do |reply,i| %>
|
|
|
|
@ -129,11 +120,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyDes">
|
|
|
|
|
<div class="homepagePostReplyPublisher">
|
|
|
|
|
<% if reply.try(:author).try(:realname) == ' ' %>
|
|
|
|
|
<%= link_to reply.try(:author), user_path(reply.author_id,:host=>Setting.host_user), :class => "newsBlue mr10 f14" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to reply.try(:author).try(:realname), user_path(reply.author_id,:host=>Setting.host_user), :class => "newsBlue mr10 f14" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= link_to reply.author.show_name, user_path(reply.author_id,:host=>Setting.host_user), :class => "newsBlue mr10 f14" %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyContent upload_img break_word" id="reply_message_description_<%= reply.id %>">
|
|
|
|
|
<%= reply.content.html_safe%>
|
|
|
|
|