From 937b95122036efd648c88a91129a8376405a883e Mon Sep 17 00:00:00 2001 From: cxt Date: Sat, 8 Oct 2016 15:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=95=E5=BC=80=E6=9F=90=E4=B8=AA=E4=BD=9C?= =?UTF-8?q?=E5=93=81=E8=AF=A6=E6=83=85=E6=97=B6=E6=94=B6=E8=B5=B7=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E4=BD=9C=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_evaluation_title.html.erb | 2 +- app/views/student_work/_evaluation_un_group.html.erb | 2 +- app/views/student_work/_evaluation_un_title.html.erb | 2 +- app/views/student_work/_group_member_work.html.erb | 2 +- app/views/student_work/show.js.erb | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/student_work/_evaluation_title.html.erb b/app/views/student_work/_evaluation_title.html.erb index 55e1b57c1..094df203e 100644 --- a/app/views/student_work/_evaluation_title.html.erb +++ b/app/views/student_work/_evaluation_title.html.erb @@ -33,7 +33,7 @@ <%= render :partial => "evaluation_work", :locals => {:student_work => student_work, :index => i}%> -
+
diff --git a/app/views/student_work/_evaluation_un_group.html.erb b/app/views/student_work/_evaluation_un_group.html.erb index 05cc7c5c1..f75f0423f 100644 --- a/app/views/student_work/_evaluation_un_group.html.erb +++ b/app/views/student_work/_evaluation_un_group.html.erb @@ -3,7 +3,7 @@
<%= render :partial => 'evaluation_un_group_work', :locals => {:student_work => student_work} %>
-
+
<%= render :partial => 'group_member_work', :locals => {:student_work => student_work} %> diff --git a/app/views/student_work/_evaluation_un_title.html.erb b/app/views/student_work/_evaluation_un_title.html.erb index 4fdd6384f..902c8fa50 100644 --- a/app/views/student_work/_evaluation_un_title.html.erb +++ b/app/views/student_work/_evaluation_un_title.html.erb @@ -78,7 +78,7 @@ <%= render :partial => "evaluation_un_work", :locals => {:student_work => student_work, :index => i} %> -
+
diff --git a/app/views/student_work/_group_member_work.html.erb b/app/views/student_work/_group_member_work.html.erb index bfe25c982..fa62b17ed 100644 --- a/app/views/student_work/_group_member_work.html.erb +++ b/app/views/student_work/_group_member_work.html.erb @@ -6,6 +6,6 @@ <%= render :partial => 'evaluation_un_group_member_work', :locals => {:st => st, :anon_count => anon_count} %>
<% if j != 0 %> -
+
<% end %> <% end %> \ No newline at end of file diff --git a/app/views/student_work/show.js.erb b/app/views/student_work/show.js.erb index 135da3c0d..d8f36d4ba 100644 --- a/app/views/student_work/show.js.erb +++ b/app/views/student_work/show.js.erb @@ -2,6 +2,7 @@ if($("#about_hwork_<%= @work.id%>").children().length > 0){ $("#about_hwork_<%= @work.id%>").html(""); } else{ + $(".about_hwork").html(""); <% if @homework.homework_type == 2%> $("#about_hwork_<%= @work.id%>").html("<%= escape_javascript(render :partial => 'programing_work_show',:locals => {:work =>@work,:score =>@score,:student_work_scores => @student_work_scores}) %>");