diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index c4f083bee..3ad63a948 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -311,7 +311,8 @@ class CoursesController < ApplicationController when '2' @subPage_title = l :label_student_list page = params[:page].nil? ? 0 : (params['page'].to_i - 1) - @all_members = student_homework_score(0,page, 10,"desc") + # @all_members = student_homework_score(0,page, 10,"desc") + @all_members = @course.members @members = paginateHelper_for_members @all_members, 10 end respond_to do |format| diff --git a/app/views/courses/_course_student.html.erb b/app/views/courses/_course_student.html.erb new file mode 100644 index 000000000..92ca7b983 --- /dev/null +++ b/app/views/courses/_course_student.html.erb @@ -0,0 +1,173 @@ +
+ + + \ No newline at end of file diff --git a/app/views/courses/member.html.erb b/app/views/courses/member.html.erb index 07b8cfbf8..e5a87da11 100644 --- a/app/views/courses/member.html.erb +++ b/app/views/courses/member.html.erb @@ -48,27 +48,7 @@