From 8ce8de09cbe5451a55d964a47ad7285d55b35c11 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Sat, 12 Oct 2013 08:53:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_my_course.html.erb | 6 +++--- app/views/users/_my_joinedcourse.html.erb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/users/_my_course.html.erb b/app/views/users/_my_course.html.erb index 417864cb7..6a461c6ce 100644 --- a/app/views/users/_my_course.html.erb +++ b/app/views/users/_my_course.html.erb @@ -49,11 +49,11 @@ <% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %> - Teacher + 老师 <% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %> - Student + 学生 <% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %> - TA + 助教 <% end %> diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb index 4b8107440..ae5735b0c 100644 --- a/app/views/users/_my_joinedcourse.html.erb +++ b/app/views/users/_my_joinedcourse.html.erb @@ -48,11 +48,11 @@ <% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %> - Teacher + 老师 <% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %> - Student + 学生 <% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %> - TA + 助教 <% end %>