|
|
|
@ -2996,6 +2996,8 @@ module ApplicationHelper
|
|
|
|
|
else
|
|
|
|
|
title << "教学案例"
|
|
|
|
|
end
|
|
|
|
|
elsif params[:controller] == "project_packages"
|
|
|
|
|
title << "众包社区"
|
|
|
|
|
elsif @course
|
|
|
|
|
title << (@course.name.nil? ? "课堂" : @course.name)
|
|
|
|
|
elsif params[:controller] == "homework_bank" || params[:controller] == "question_banks" || params[:controller] == "exercise_bank"
|
|
|
|
@ -7468,7 +7470,7 @@ def tiding_url tiding
|
|
|
|
|
tiding.tiding_type == 'Apply' ? library_applies_path : library_path(tiding.container_id)
|
|
|
|
|
when 'ProjectPackage'
|
|
|
|
|
if tiding.container.present?
|
|
|
|
|
tiding.tiding_type == 'Apply' ? project_package_applies_path : "/project_packages/#{tiding.container_id}"
|
|
|
|
|
tiding.tiding_type == 'Apply' ? project_package_applies_path : "/crowdsourcing/#{tiding.container_id}"
|
|
|
|
|
else
|
|
|
|
|
'javascript:void(0)'
|
|
|
|
|
end
|
|
|
|
|