From 56c88dfd1dce68d5d0039c433197bf0661ef247f Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 3 Jun 2015 09:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E5=88=97=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BD=9C=E4=B8=9A=E9=99=84=E4=BB=B6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/homework_common/index.html.erb | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 %>