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