From 288935384477b57531eac60856157a7df4e28a3f Mon Sep 17 00:00:00 2001 From: cxt Date: Wed, 13 Apr 2016 16:27:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E5=93=81=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E2=80=9C=E6=9C=AA=E5=8F=82=E4=B8=8E=E2=80=9D=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0tip=EF=BC=9A=E2=80=9C=E8=AF=A5=E4=BD=9C=E5=93=81?= =?UTF-8?q?=E6=9C=AA=E8=A2=AB=E5=8C=BF=E8=AF=84=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_evaluation_un_work.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/student_work/_evaluation_un_work.html.erb b/app/views/student_work/_evaluation_un_work.html.erb index 57dd786eb..0a3796758 100644 --- a/app/views/student_work/_evaluation_un_work.html.erb +++ b/app/views/student_work/_evaluation_un_work.html.erb @@ -63,7 +63,11 @@ <% if @homework.anonymous_comment == 0%>
  • - <%= student_work.student_score.nil? ? "未参与" : format("%.1f",student_work.student_score)%> + <% if student_work.student_score.nil? %> + 未参与 + <% else %> + <%=format("%.1f",student_work.student_score) %> + <% end %> <% unless student_work.student_score.nil?%> (<%= student_work.student_works_scores.where(:reviewer_role => 3).count%>)