分数显示tip
This commit is contained in:
parent
bb0833c054
commit
2955d07f7c
|
@ -94,7 +94,7 @@
|
|||
<% else %>
|
||||
<% score = student_work.respond_to?("score") ? student_work.score : (student_work.final_score || 0) - student_work.absence_penalty - student_work.late_penalty%>
|
||||
<% end %>
|
||||
<td class="hworkList70 <%= score_color score%> student_final_scor_info">
|
||||
<td class="hworkList70 <%= score_color score%> student_final_scor_info pr">
|
||||
<%= score.nil? ? "--" : format("%.1f",score<0 ? 0 : score)%>
|
||||
<% unless score.nil?%>
|
||||
<div class="score-tip none tl" style="line-height: 18px;">
|
||||
|
|
Loading…
Reference in New Issue