|
|
|
@ -17,6 +17,8 @@ json.homeworks @homework_commons.each do |homework|
|
|
|
|
|
json.status_time curr_status[:time]
|
|
|
|
|
json.time_status curr_status[:time_status]
|
|
|
|
|
json.allow_late homework.allow_late
|
|
|
|
|
# 只有在主目录才显示
|
|
|
|
|
json.upper_category_name homework.course_second_category&.name unless params[:category]
|
|
|
|
|
|
|
|
|
|
unless curr_status[:status].include?("未发布")
|
|
|
|
|
json.commit_count studentwork_count homework, 1, @member
|
|
|
|
|