From 9c4eed3cdd0503c8c1fbbabbc2d6d57beeaf22a4 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 24 Oct 2016 11:17:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=BB=84=E4=BD=9C=E4=B8=9A=E7=9A=84?= =?UTF-8?q?=E4=BD=9C=E5=93=81=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E2=80=9C?= =?UTF-8?q?X=E7=BB=84=E5=B7=B2=E4=BA=A4=E2=80=9D?= 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 77517f747..ad7feb027 100644 --- a/app/views/student_work/_student_work_list.html.erb +++ b/app/views/student_work/_student_work_list.html.erb @@ -2,7 +2,7 @@ 作品 - (<%= @student_work_count%>人已交) + (<%= @student_work_count%><%=@homework.homework_type == 3 ? '组' : '人' %>已交) <%# my_work = @homework.student_works.where("user_id = #{User.current.id}").first %> <% my_work = cur_user_works_for_homework @homework %>