From eb3c0d93347c3457630c220a757b7580399b865e Mon Sep 17 00:00:00 2001 From: ouyangxuhua Date: Thu, 10 Mar 2016 17:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E8=AE=BE=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?=E5=85=AC=E5=BC=80=E5=90=8E=EF=BC=8C=E5=85=81=E8=AE=B8=E6=B8=B8?= =?UTF-8?q?=E5=AE=A2=E4=B8=8B=E8=BD=BD=E9=80=89=E9=A1=B9=E5=8F=98=E4=B8=BA?= =?UTF-8?q?=E5=8F=AF=E9=80=89=EF=BC=9B=E8=80=81=E5=B8=88=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BD=9C=E4=B8=9A=E6=B6=88=E6=81=AF=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/organizations/setting.html.erb | 2 +- app/views/users/_user_message_course.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/organizations/setting.html.erb b/app/views/organizations/setting.html.erb index 8b2a205ca..3ef5d547c 100644 --- a/app/views/organizations/setting.html.erb +++ b/app/views/organizations/setting.html.erb @@ -70,7 +70,7 @@
公开 : - class="ml3" /> + class="ml3" />
下载支持 : name="organization[allow_guest_download]" <%= @organization.allow_guest_download ? 'checked': ''%> class="ml3" /> diff --git a/app/views/users/_user_message_course.html.erb b/app/views/users/_user_message_course.html.erb index 9f7b90ee4..bd449de7d 100644 --- a/app/views/users/_user_message_course.html.erb +++ b/app/views/users/_user_message_course.html.erb @@ -382,7 +382,7 @@ <% end %> <% end %> - <% if ma.course_message_type == "StudentWork" && !ma.course_message.homework_common.nil? %> + <% if ma.course_message_type == "StudentWork" && !ma.course_message.homework_common.nil? && ma.course_message.homework_common.user_id != User.current.id %>