diff --git a/app/views/bids/_homework_list.html.erb b/app/views/bids/_homework_list.html.erb
index 9dbc19386..76207802c 100644
--- a/app/views/bids/_homework_list.html.erb
+++ b/app/views/bids/_homework_list.html.erb
@@ -24,7 +24,7 @@
<%= link_to homework.user, user_path(homework.user)%> 已提交 |
- <% 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) %>
迟交
<% end %>
|
diff --git a/app/views/bids/_list_projects.html.erb b/app/views/bids/_list_projects.html.erb
index 304bab413..41c5ab9d1 100644
--- a/app/views/bids/_list_projects.html.erb
+++ b/app/views/bids/_list_projects.html.erb
@@ -147,6 +147,13 @@
<%= format_time b_project.created_at%>
+
+
+ <% if Time.parse(@bid.deadline.to_s) < Time.parse(b_project.created_at.to_s) %>
+ 迟交
+ <% end %>
+ |
+
|