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 %>
<% end %> -
  • "><%= link_to "课堂", courses_path %>
  • "><%= link_to "竞赛", competitions_path %>
  • "><%= link_to "问答", forums_path %>
  • <% if User.current.ec_school.present? %> diff --git a/app/views/layouts/_unlogin_header.html.erb b/app/views/layouts/_unlogin_header.html.erb index d1fe87db..16ec6ed6 100644 --- a/app/views/layouts/_unlogin_header.html.erb +++ b/app/views/layouts/_unlogin_header.html.erb @@ -3,11 +3,13 @@
    <% end %> -
  • <%= link_to "课堂", courses_path %>
  • <%= link_to "竞赛", competitions_path %>
  • <%= link_to "问答", forums_path %>
  • diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index f076e2fa..cdcdf2fe 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -269,12 +269,15 @@ class NewHeader extends Component {
    -
  • 课堂
  • 竞赛
  • 问答
  • {ecUrl===null?'':'认证'}