From 51e082a55154ad4577f5a4eaec1b7f3130ba2bea Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 17 Dec 2015 10:17:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=92=8C=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E4=BD=9C=E5=93=81=E6=97=B6=E7=9A=84=E6=A0=B7=E5=BC=8F=E5=92=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/edit.html.erb | 2 +- app/views/student_work/new.html.erb | 2 +- app/views/users/_user_homework_attachment.html.erb | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/views/student_work/edit.html.erb b/app/views/student_work/edit.html.erb index bfdf8c316..6ca609502 100644 --- a/app/views/student_work/edit.html.erb +++ b/app/views/student_work/edit.html.erb @@ -7,7 +7,7 @@
-
+ diff --git a/app/views/student_work/new.html.erb b/app/views/student_work/new.html.erb index c3a61d4c8..a71120d55 100644 --- a/app/views/student_work/new.html.erb +++ b/app/views/student_work/new.html.erb @@ -83,7 +83,7 @@
-
+ diff --git a/app/views/users/_user_homework_attachment.html.erb b/app/views/users/_user_homework_attachment.html.erb index bba7627b1..5f4cb4a8e 100644 --- a/app/views/users/_user_homework_attachment.html.erb +++ b/app/views/users/_user_homework_attachment.html.erb @@ -48,10 +48,12 @@
<% if @homework && @homework.homework_type == 3 %> - - 合作成员:<%=User.current.show_name %>(组长) - - + <% unless defined?(show_member) && show_member %> + + 合作成员:<%=User.current.show_name %>(组长) + + + <% end %> <% end %>