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 %>