实训作业简介还原

dev_ec^2
cxt 5 years ago
parent 73a21bcf9c
commit 779025c452

@ -4,11 +4,12 @@ json.partial! "homework_btn_check", locals: {identity: @user_course_identity, ho
json.partial! "student_btn_check", locals: {identity: @user_course_identity, homework: @homework, work: @work}
json.description @homework.description
# 实训作业才有说明
if @homework.homework_type == "practice"
json.explanation @homework.explanation
else
json.description @homework.description
# else
# json.description @homework.description
end
# 附件

Loading…
Cancel
Save