扣分标准提示显示

This commit is contained in:
sw 2015-07-04 11:37:43 +08:00
parent 35a0f07d9f
commit 5694b99bf1
2 changed files with 33 additions and 0 deletions

View File

@ -56,7 +56,23 @@
</div>
<% end%>
</div>
<div class="cl"></div>
<div class="mt5">
<span class="tit_fb" style="width: auto;"> 扣分标准:</span>
<div class="fl mb5 c_red">
迟交扣分
<%= homework.late_penalty%>
<% if homework.homework_type == 1%>
,缺评一个作品扣
<%= homework.homework_detail_manual.absence_penalty%>
<% else%>
<% end%>
</div>
</div>
<div class="cl"></div>
<span class="fl"><%= l(:label_end_time)%><%= homework.end_time%></span>

View File

@ -123,6 +123,23 @@
</div>
<% end%>
</div>
<div class="cl"></div>
<div class="mt5">
<span class="tit_fb" style="width: auto;"> 扣分标准:</span>
<div class="fl mb5 c_red">
迟交扣分
<%= @homework.late_penalty%>
<% if @homework.homework_type == 1%>
,缺评一个作品扣
<%= @homework.homework_detail_manual.absence_penalty%>
<% else%>
<% end%>
</div>
</div>
<div class="cl"></div>
<span class="fl">截止时间:<%= @homework.end_time%></span>