|
|
@ -27,6 +27,7 @@ json.homeworks @homework_commons.each do |homework|
|
|
|
|
unless curr_status[:status].include?("未发布")
|
|
|
|
unless curr_status[:status].include?("未发布")
|
|
|
|
json.commit_count studentwork_count homework, 1, @member
|
|
|
|
json.commit_count studentwork_count homework, 1, @member
|
|
|
|
json.uncommit_count studentwork_count homework, 0, @member
|
|
|
|
json.uncommit_count studentwork_count homework, 0, @member
|
|
|
|
|
|
|
|
json.all_count studentwork_count homework, 2, @member
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if homework.homework_type == "practice"
|
|
|
|
if homework.homework_type == "practice"
|
|
|
|