|
|
|
@ -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"
|
|
|
|
|