编程作品不现实缺评扣分

This commit is contained in:
sw 2015-08-01 16:20:46 +08:00
parent 709f6f5aee
commit d1569c18ba
1 changed files with 4 additions and 2 deletions

View File

@ -48,8 +48,10 @@
<span class="c_red">&nbsp;<%= student_work.final_score%>&nbsp;</span>分。
迟交扣分
<span class="c_red">&nbsp;<%= student_work.late_penalty%>&nbsp;</span>分,
<% if student_work.homework_common.homework_type == 1%>
缺评扣分
<span class="c_red">&nbsp;<%= student_work.absence_penalty%>&nbsp;</span>分,
<% end%>
最终成绩为
<span class="c_red">&nbsp;<%= format("%.1f",score)%>&nbsp;</span>分。
</div>