|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
<%= user_for_homework_common activity,is_teacher %>
|
|
|
|
|
</div>
|
|
|
|
|
<% work = cur_user_works_for_homework activity %>
|
|
|
|
|
<% if activity.end_time < Date.today && !is_teacher && !work.nil? && work.user == User.current %>
|
|
|
|
|
<% if !is_teacher && !work.nil? && work.user == User.current && activity.end_time < Date.today %>
|
|
|
|
|
<div class="homepagePostSubmit">
|
|
|
|
|
<%=link_to "追加附件", student_work_index_url_in_org(activity.id, 2, 1), :class => 'c_blue', :title => "可追加作品修订附件" %>
|
|
|
|
|
</div>
|
|
|
|
|