From ddafa7983595a4424d85779f29001197a8ad533c Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 17 May 2016 15:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=B1=95=E5=BC=80=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=A5=BC=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_comment_reply.html.erb | 2 +- app/views/users/_user_homework_detail.html.erb | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/views/users/_comment_reply.html.erb b/app/views/users/_comment_reply.html.erb index ddc654463..895eda8a9 100644 --- a/app/views/users/_comment_reply.html.erb +++ b/app/views/users/_comment_reply.html.erb @@ -1,6 +1,6 @@
<% unless comment.parent.nil? %> -
+
<%=render :partial => 'users/comment_reply', :locals => {:comment => comment.parent} %>
<% end %> diff --git a/app/views/users/_user_homework_detail.html.erb b/app/views/users/_user_homework_detail.html.erb index b8c5c2017..decaba88c 100644 --- a/app/views/users/_user_homework_detail.html.erb +++ b/app/views/users/_user_homework_detail.html.erb @@ -352,12 +352,16 @@ <% else %>
-
+
<%=render :partial => 'users/comment_reply', :locals => {:comment => parents_rely[length - 1]} %>
<%=render :partial => 'users/comment_reply_detail', :locals => {:comment => parents_rely[length - 2]} %>
-
<%= link_to '点击展开隐藏楼层', show_all_replies_users_path(:comment => comment),:remote=>true %>
+
+ + + <%= link_to '点击展开隐藏楼层', show_all_replies_users_path(:comment => comment),:remote=>true %> +
<%=render :partial => 'users/comment_reply_detail', :locals => {:comment => parents_rely[0]} %>
<% end %>