diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 8b58703a..2e6c2865 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2968,7 +2968,7 @@ module ApplicationHelper title << ("关于我们") end elsif params[:controller] == "courses" && params[:action] == "index" - title << ("课堂") + title << ("翻转课堂") elsif params[:controller] == "competitions" && params[:action] == "index" title << ("竞赛") elsif @competition @@ -2976,11 +2976,11 @@ module ApplicationHelper elsif @contest title << (@contest.name.nil? ? "创新源于实践" : @contest.name) elsif @shixun - title << (@shixun.name.nil? ? "精选实训" : @shixun.name) + title << (@shixun.name.nil? ? "开发社区" : @shixun.name) elsif @my_shixun title << ("我的实训") elsif params[:controller] == "shixuns" && params[:action] == "index" - title << ("精选实训") + title << ("开发社区") elsif @subject title << (@subject.name.nil? ? "实训课程" : @subject.name) elsif params[:controller] == "subjects" && params[:action] == "index" diff --git a/app/views/layouts/_logined_header.html.erb b/app/views/layouts/_logined_header.html.erb index b4e2999d..570d9f55 100644 --- a/app/views/layouts/_logined_header.html.erb +++ b/app/views/layouts/_logined_header.html.erb @@ -2,8 +2,11 @@ <%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg"), home_path %>