个人主页动态的缺陷回复与缺陷页面的回复内容不一致

This commit is contained in:
cxt 2015-09-15 16:27:53 +08:00
parent 5ccace15da
commit 0a2bfa1bdb
1 changed files with 8 additions and 11 deletions

View File

@ -111,17 +111,14 @@
<% end %>
<%= format_time(reply.created_on) %>
</div>
<% if reply.details.any? %>
<% details_to_strings(reply.details).each do |string| %>
<div class="homepagePostReplyContent break_word">
<%= string %>
</div>
<% end %>
<% else %>
<div class="homepagePostReplyContent break_word">
<%= reply.notes.html_safe %>
</div>
<% end %>
<div class="homepagePostReplyContent break_word">
<% if reply.details.any? %>
<% details_to_strings(reply.details).each do |string| %>
<p><%= string %></p>
<% end %>
<% end %>
<P><%= reply.notes.html_safe %></P>
</div>
</div>
<div class="cl"></div>
</li>