|
|
@ -49,6 +49,7 @@ if @task.published? || @user_course_identity < Course::STUDENT
|
|
|
|
json.class_grouping_name @students.select{|student| student.user_id == work.user_id}.first.try(:course_group_name)
|
|
|
|
json.class_grouping_name @students.select{|student| student.user_id == work.user_id}.first.try(:course_group_name)
|
|
|
|
json.ultimate_score work.ultimate_score
|
|
|
|
json.ultimate_score work.ultimate_score
|
|
|
|
if @task.have_grouping?
|
|
|
|
if @task.have_grouping?
|
|
|
|
|
|
|
|
json.is_leader work.user_id == work.commit_user_id
|
|
|
|
json.grouping_name work.grouping_name
|
|
|
|
json.grouping_name work.grouping_name
|
|
|
|
if @task.base_on_project
|
|
|
|
if @task.base_on_project
|
|
|
|
json.project_info project_info work, @current_user, @user_course_identity
|
|
|
|
json.project_info project_info work, @current_user, @user_course_identity
|
|
|
|