Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
025b8971e6
|
@ -75,7 +75,7 @@
|
||||||
<td>
|
<td>
|
||||||
<strong>作业评分:</strong>
|
<strong>作业评分:</strong>
|
||||||
|
|
||||||
<%= format("%.2f", homework.rate_averages.first.try(:avg).to_i ) %>
|
<%= format("%.2f", homework.rate_averages.first.try(:avg).to_f ) %>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" align="right">
|
<td valign="top" align="right">
|
||||||
<% if Time.parse(@bid.deadline.to_s) < Time.parse(homework.created_at.to_s) %>
|
<% if Time.parse(@bid.deadline.to_s) < Time.parse(homework.created_at.to_s) %>
|
||||||
|
|
Loading…
Reference in New Issue