From 179058f1aa648f3096f466f3b5a40481a46cd0d9 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 29 Dec 2015 14:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E6=80=BB=E6=88=90=E7=BB=A9?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E4=B8=BA=E8=B4=9F=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_evaluation_un_work.html.erb | 2 +- 1 file changed, 1 insertion(+), 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 0a4ab044a..bf022f64c 100644 --- a/app/views/student_work/_evaluation_un_work.html.erb +++ b/app/views/student_work/_evaluation_un_work.html.erb @@ -74,7 +74,7 @@ <% score = student_work.respond_to?("score") ? student_work.score : (student_work.final_score || 0) - student_work.absence_penalty - student_work.late_penalty%>
  • - <%= score.nil? ? "--" : format("%.1f",score)%> + <%= score.nil? ? "--" : format("%.1f",score<0 ? 0 : score)%> <% unless score.nil?%>
    作品最终评分为