Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_ec^2
hjm 5 years ago
commit d3a102f17d

@ -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.partial! "student_btn_check", locals: {identity: @user_course_identity, homework: @homework, work: @work}
json.description @homework.description
# 实训作业才有说明 # 实训作业才有说明
if @homework.homework_type == "practice" if @homework.homework_type == "practice"
json.explanation @homework.explanation json.explanation @homework.explanation
else # else
json.description @homework.description # json.description @homework.description
end end
# 附件 # 附件

Loading…
Cancel
Save