|
|
@ -7,7 +7,7 @@ json.group_list do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
# 未分班展示情况放在最后
|
|
|
|
# 未分班展示情况放在最后
|
|
|
|
if @course_groups.count > 0 && @course_groups.count < @limit.to_i
|
|
|
|
if @course_groups.count != (@page -1)*@limit.to_i && @course_groups.count < @limit.to_i
|
|
|
|
ungroup_work_count = homework_ungroup_works_count(@homework, @ungroup_user_ids)
|
|
|
|
ungroup_work_count = homework_ungroup_works_count(@homework, @ungroup_user_ids)
|
|
|
|
if ungroup_work_count > 0
|
|
|
|
if ungroup_work_count > 0
|
|
|
|
json.ungroup_list do
|
|
|
|
json.ungroup_list do
|
|
|
|