|
|
@ -1,6 +1,7 @@
|
|
|
|
json.partial! "public_navigation", locals: {graduation: @task, course: @course}
|
|
|
|
json.partial! "public_navigation", locals: {graduation: @task, course: @course}
|
|
|
|
json.user_course_identity @user_course_identity
|
|
|
|
json.user_course_identity @user_course_identity
|
|
|
|
json.course_group_count @course.course_groups_count
|
|
|
|
json.course_group_count @course.course_groups_count
|
|
|
|
|
|
|
|
json.cross_comment @task.cross_comment
|
|
|
|
# 课程发布才有数据
|
|
|
|
# 课程发布才有数据
|
|
|
|
if @task.published? || @user_course_identity < Course::STUDENT
|
|
|
|
if @task.published? || @user_course_identity < Course::STUDENT
|
|
|
|
# 老师身份才有的分类信息
|
|
|
|
# 老师身份才有的分类信息
|
|
|
|