From 5433e6d7144ed9d3651c10a397ac4da060aa69df Mon Sep 17 00:00:00 2001 From: cxt Date: Wed, 7 Sep 2016 09:29:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=87=8D=E8=A7=92=E8=89=B2=EF=BC=8C?= =?UTF-8?q?=E6=95=99=E5=B8=88/=E5=8A=A9=E6=95=99=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=87=AA=E5=B7=B1=E4=BD=9C=E4=B8=BA=E5=AD=A6=E7=94=9F=E8=BA=AB?= =?UTF-8?q?=E4=BB=BD=E6=97=B6=E6=8F=90=E4=BA=A4=E7=9A=84=E4=BD=9C=E5=93=81?= =?UTF-8?q?=EF=BC=8C=E8=BF=BD=E5=8A=A0=E9=99=84=E4=BB=B6=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_revise_attachment.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/student_work/_revise_attachment.html.erb b/app/views/student_work/_revise_attachment.html.erb index cd7ddc917..b2d473c0e 100644 --- a/app/views/student_work/_revise_attachment.html.erb +++ b/app/views/student_work/_revise_attachment.html.erb @@ -14,7 +14,7 @@
<% end %> - <% if work.user == User.current %> + <% if work.user == User.current && !User.current.allowed_to?(:as_teacher, @homework.course) %>
追加修订附件