教学案例title

dev_aliyun
jingquan huang 5 years ago
parent 1db7bde85c
commit c1e78e903b

@ -2990,6 +2990,12 @@ module ApplicationHelper
title << "项目"
elsif @welcome
title << "创新源于实践"
elsif params[:controller] == "libraries"
if @library
title << "#{@library.title}"
else
title << "教学案例"
end
elsif @course
title << (@course.name.nil? ? "课堂" : @course.name)
elsif params[:controller] == "homework_bank" || params[:controller] == "question_banks" || params[:controller] == "exercise_bank"

Loading…
Cancel
Save