From b8d04c13526a2d0a0738caf02d14ee0b319c22a4 Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 2 Sep 2016 16:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E4=B8=BB=E8=AE=B2=E8=80=81=E5=B8=88=E6=94=B9=E4=B8=BA=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E8=80=81=E5=B8=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_courses_list.html.erb | 2 +- app/views/users/_user_course_list.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_courses_list.html.erb b/app/views/users/_courses_list.html.erb index ab6c8ff81..d79215f9a 100644 --- a/app/views/users/_courses_list.html.erb +++ b/app/views/users/_courses_list.html.erb @@ -10,7 +10,7 @@
" class="syllabus_class_title fl" target="_blank" title="<%= allow_visit ? "" : "私有班级不可访问" %>"><%= course.name %> <%= course.is_public == 0 ? '私有' : '公开' %> - +
diff --git a/app/views/users/_user_course_list.html.erb b/app/views/users/_user_course_list.html.erb index 9013c41f4..f757b170b 100644 --- a/app/views/users/_user_course_list.html.erb +++ b/app/views/users/_user_course_list.html.erb @@ -23,7 +23,7 @@ :style => 'color:#000',:id => "show_course_#{course.id}", :target => '_blank', :title => (course.is_public? ? "公开班级:":"私有班级:")+course.name+"("+current_time_and_term(course)+")"%> <% teacher = User.where("id=?",course.tea_id).first%> - <%='主讲老师:'+(teacher.try(:realname) != " " ? teacher.lastname + teacher.firstname : teacher.try(:login)) %> + <%='创建老师:'+(teacher.try(:realname) != " " ? teacher.lastname + teacher.firstname : teacher.try(:login)) %>