编程作品不现实缺评扣分
This commit is contained in:
parent
709f6f5aee
commit
d1569c18ba
|
@ -48,8 +48,10 @@
|
||||||
<span class="c_red"> <%= student_work.final_score%> </span>分。
|
<span class="c_red"> <%= student_work.final_score%> </span>分。
|
||||||
迟交扣分
|
迟交扣分
|
||||||
<span class="c_red"> <%= student_work.late_penalty%> </span>分,
|
<span class="c_red"> <%= student_work.late_penalty%> </span>分,
|
||||||
|
<% if student_work.homework_common.homework_type == 1%>
|
||||||
缺评扣分
|
缺评扣分
|
||||||
<span class="c_red"> <%= student_work.absence_penalty%> </span>分,
|
<span class="c_red"> <%= student_work.absence_penalty%> </span>分,
|
||||||
|
<% end%>
|
||||||
最终成绩为
|
最终成绩为
|
||||||
<span class="c_red"> <%= format("%.1f",score)%> </span>分。
|
<span class="c_red"> <%= format("%.1f",score)%> </span>分。
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue