From 49e8a6f1ff0ddeed2cad9fbb3118a394008ac6cf Mon Sep 17 00:00:00 2001 From: cxt Date: Wed, 7 Sep 2016 15:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E5=8C=BF=E8=AF=84=E6=97=B6?= =?UTF-8?q?=EF=BC=9A=E5=AD=A6=E7=94=9F=E7=82=B9=E5=87=BB=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=AD=E2=80=9C=E8=BF=BD=E5=8A=A0=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E2=80=9D=EF=BC=8C=E8=BF=9B=E5=85=A5=E4=BD=9C=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=90=8E=E8=A6=81=E9=BB=98=E8=AE=A4=E6=89=93?= =?UTF-8?q?=E5=BC=80=E8=87=AA=E5=B7=B1=E6=8F=90=E4=BA=A4=E7=9A=84=E4=BD=9C?= =?UTF-8?q?=E5=93=81=E4=B8=94=E5=BC=B9=E5=87=BA=E8=BF=BD=E5=8A=A0=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_student_work_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/student_work/_student_work_list.html.erb b/app/views/student_work/_student_work_list.html.erb index e05df2892..dbde6d24c 100644 --- a/app/views/student_work/_student_work_list.html.erb +++ b/app/views/student_work/_student_work_list.html.erb @@ -50,7 +50,7 @@ { $("#homework_info_show").show(); } - <% if !@is_evaluation && (!@is_teacher || params[:show_work_id].present?) || @message_student_work_id %> + <% if !@is_evaluation && (!@is_teacher || params[:show_work_id].present?) || @message_student_work_id || (@is_evaluation && @is_focus == 1) %> <% if @message_student_work_id %> <% work = @homework.student_works.where("id =?", @message_student_work_id).first %> <% else %>