diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb index 02a2b1707..c6d2bd313 100644 --- a/app/views/student_work/index.html.erb +++ b/app/views/student_work/index.html.erb @@ -135,7 +135,11 @@ <% else %> 匿评已禁用 <% end %> - 作品提交中 + <% if Time.parse(@homework.end_time.to_s).strftime("%Y-%m-%d") >= Time.now.strftime("%Y-%m-%d")%> + 作品提交中 + <% elsif Time.parse(@homework.end_time.to_s).strftime("%Y-%m-%d") < Time.now.strftime("%Y-%m-%d") %> + 作品补交中 + <% end %> <% elsif @homework.homework_detail_manual.comment_status == 2%> <% if @homework.anonymous_comment == 0%> 匿评中