dev_bj
cxt 6 years ago
parent 39141fc803
commit 3c6848085f

@ -3079,7 +3079,7 @@ module ApplicationHelper
elsif @syllabus
title << (@syllabus.title.nil? ? "课堂" : @syllabus.title)
else
title << (User.current.id == 2 ? "Educoder实践教学" : User.current.show_name)
title << (User.current.anonymous? ? "Educoder实践教学" : User.current.show_name)
end
# if first_page.nil? || first_page.web_title.nil?
# title << Setting.app_title unless Setting.app_title == title.last

Loading…
Cancel
Save