From 6db223b35b392e0f2f3a30ba097c919c8e0c575f Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 4 Nov 2016 16:13:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E8=80=81=E5=B8=88=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=88=86=E7=BB=84=E4=BD=9C=E5=93=81=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E2=80=9C=E8=AF=84=E5=88=86=E2=80=9D=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../student_work/_evaluation_un_group_member_work.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/student_work/_evaluation_un_group_member_work.html.erb b/app/views/student_work/_evaluation_un_group_member_work.html.erb index e50a3626e..9a03fbdc6 100644 --- a/app/views/student_work/_evaluation_un_group_member_work.html.erb +++ b/app/views/student_work/_evaluation_un_group_member_work.html.erb @@ -71,7 +71,9 @@ -
评分
+ <% if User.current.allowed_to?(:as_teacher, st.homework_common.course) %> +
评分
+ <% end %>