|
|
|
@ -26,10 +26,12 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="hworkList130 c_grey" onclick="show_student_work('<%= student_work_path(student_work)%>');" style="cursor: pointer;">
|
|
|
|
|
<% if student_work.created_at && @homework.end_time%>
|
|
|
|
|
<%= Time.parse(format_time(student_work.created_at)).strftime("%m-%d %H:%M")%>
|
|
|
|
|
<% if Time.parse(@homework.end_time.to_s).strftime("%Y-%m-%d") < Time.parse(student_work.created_at.to_s).strftime("%Y-%m-%d") %>
|
|
|
|
|
<span class="c_red">[迟交]</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="hworkList50 <%= score_color student_work.teacher_score%>">
|
|
|
|
|
<%= student_work.teacher_score.nil? ? "--" : format("%.1f",student_work.teacher_score)%>
|
|
|
|
|