diff --git a/app/views/homework_common/index.html.erb b/app/views/homework_common/index.html.erb index a74a4d752..87bf37f04 100644 --- a/app/views/homework_common/index.html.erb +++ b/app/views/homework_common/index.html.erb @@ -45,6 +45,19 @@ <%= l(:button_more)%>... + +
+
+ <% unless homework.attachments.empty?%> + 附件: +
+ <%= render :partial => 'student_work/work_attachments', :locals => {:attachments => homework.attachments} %> +
+ <% end%> +
+ +
+ <%= l(:label_end_time)%>:<%= homework.end_time%> <% if betweentime(homework.end_time) < 0 %>