From 5694b99bf16c7eccd943850de46bba05d19aa2ed Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Sat, 4 Jul 2015 11:37:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A3=E5=88=86=E6=A0=87=E5=87=86=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=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 | 16 ++++++++++++++++ app/views/student_work/index.html.erb | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/app/views/homework_common/index.html.erb b/app/views/homework_common/index.html.erb index a1aa49c8c..6c2f09e77 100644 --- a/app/views/homework_common/index.html.erb +++ b/app/views/homework_common/index.html.erb @@ -56,7 +56,23 @@ <% end%> +
+
+ 扣分标准: +
+ 迟交扣分 + <%= homework.late_penalty%> + 分 + <% if homework.homework_type == 1%> + ,缺评一个作品扣 + <%= homework.homework_detail_manual.absence_penalty%> + 分 + <% else%> + 。 + <% end%> +
+
<%= l(:label_end_time)%>:<%= homework.end_time%> diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb index c00e28375..28f7cc2fc 100644 --- a/app/views/student_work/index.html.erb +++ b/app/views/student_work/index.html.erb @@ -123,6 +123,23 @@ <% end%> +
+ +
+ 扣分标准: +
+ 迟交扣分 + <%= @homework.late_penalty%> + 分 + <% if @homework.homework_type == 1%> + ,缺评一个作品扣 + <%= @homework.homework_detail_manual.absence_penalty%> + 分 + <% else%> + 。 + <% end%> +
+
截止时间:<%= @homework.end_time%>