parent
9fd7f11a47
commit
56eefe42eb
|
@ -24,7 +24,7 @@
|
|||
<tr>
|
||||
<td colspan="1" valign="top"><strong> <%= link_to homework.user, user_path(homework.user)%></strong> <span class="font_lighter">已提交</span></td>
|
||||
<td valign="top" align="right">
|
||||
<% if Time.parse(@bid.deadline.to_s) > Time.parse(homework.attachments[0].created_on.to_s) %>
|
||||
<% if Time.parse(@bid.deadline.to_s) < Time.parse(homework.attachments[0].created_on.to_s) %>
|
||||
<span class="required">迟交</span>
|
||||
<% end %>
|
||||
</td>
|
||||
|
|
|
@ -147,6 +147,13 @@
|
|||
<%= format_time b_project.created_at%>
|
||||
</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<% if Time.parse(@bid.deadline.to_s) < Time.parse(b_project.created_at.to_s) %>
|
||||
<span class="required">迟交</span>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="30%">
|
||||
|
|
Loading…
Reference in New Issue