You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
json.status shixun.status
|
|
|
|
# REDO:前端需要通过status来判断发布
|
|
|
|
json.task_operation task_operation_url(current_myshixun, shixun)
|
|
|
|
|
|
|
|
json.can_fork @can_fork
|
|
|
|
json.can_copy shixun.can_copy
|
|
|
|
if shixun.can_copy
|
|
|
|
json.fork_num shixun.fork_count
|
|
|
|
end
|
|
|
|
|
|
|
|
json.identifier shixun.identifier
|
|
|
|
json.name shixun.name
|
|
|
|
json.stu_num shixun.myshixuns_count
|
|
|
|
json.experience shixun.all_score
|
|
|
|
json.diffcult diff_to_s(shixun.trainee)
|
|
|
|
json.score_info shixun.shixun_preference_info
|
|
|
|
# 用于是否显示导航栏中的'背景知识'
|
|
|
|
json.propaedeutics shixun.propaedeutics.present? ? true : false
|
|
|
|
|