题库、我的课堂和我的实训页面的菜单定位处的二级菜单名称需要修改为对应的名称

This commit is contained in:
cxt 2017-07-31 14:05:25 +08:00
parent ad79d96d14
commit df99d71c71
16 changed files with 19 additions and 19 deletions

View File

@ -1,7 +1,7 @@
<div class="stud-class-container">
<p style="line-height: 2.0;">
<i class="fa fa-map-marker mr5 color-grey"></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path %>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path %>
</p>
<div class="edu-con-top ">
<span class="ml15 color-grey font-16">新建班级</span>

View File

@ -4,7 +4,7 @@
<div class="edu-class-container" style="min-height: 760px;">
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey" ></i>
<%= link_to User.current.show_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path() %> > <%= link_to '我的题库', homework_bank_index_path() %> > 编辑
<%= link_to User.current.show_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path() %> > <%= link_to '我的题库', homework_bank_index_path() %> > 编辑
</p>
<%= form_for @homework, :html => {:id => 'homework_common_submit_form'} do |f| %>
<% if @homework_type == 1 %>

View File

@ -10,7 +10,7 @@
</script>
<div class="edu-class-container">
<p class="mb10"><i class="fa fa-map-marker mr5 color-grey"></i><%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path() %> > 题库</p>
<p class="mb10"><i class="fa fa-map-marker mr5 color-grey"></i><%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path() %> > 题库</p>
<div class="edu-con-bg01 mt15">
<div class="">
<div class="edu-tab clearfix mb20">

View File

@ -4,7 +4,7 @@
<div class="edu-class-container" style="min-height: 760px;">
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey" ></i>
<%= link_to User.current.show_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path() %> > <%= link_to '我的题库', homework_bank_index_path() %> > 新建
<%= link_to User.current.show_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path() %> > <%= link_to '我的题库', homework_bank_index_path() %> > 新建
</p>
<%= labelled_form_for @homework, :url =>{:controller=>'homework_bank',:action => 'create'}, :html => {:id => 'homework_common_submit_form'}, :method => "post" do |f| %>
<% if @homework_type == 1 %>

View File

@ -18,7 +18,7 @@
<div class="edu-class-container">
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey"></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path() %> > <%= @homework.user == User.current ? link_to('我的题库', homework_bank_index_path()) : link_to('公共题库', homework_bank_index_path(:type => 2)) %></p>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path() %> > <%= @homework.user == User.current ? link_to('我的题库', homework_bank_index_path()) : link_to('公共题库', homework_bank_index_path(:type => 2)) %></p>
<div class="edu-con-top clearfix">
<p class="ml15 fl color-grey">
<% unless @homework.is_public %>

View File

@ -18,7 +18,7 @@
<a href="<%= my_account_path %>"><i class="fa fa-search font-16 mt8 mr10"></i></a>
</div>
<ul class="fl innner-nav">
<li><a href="<%= my_account_path %>" class="new-nav-a a_forced">实训课堂</a></li>
<li><a href="<%= my_account_path %>" class="new-nav-a a_forced">在线课堂</a></li>
<li><a href="<%= my_account_path %>" class=" new-nav-a a_forced">项目实训</a></li>
<li><a href="<%= my_account_path %>" class="new-nav-a a_forced">论坛</a></li>
<li><a href="<%= my_account_path %>" class=" new-nav-a a_forced">帮助中心</a></li>

View File

@ -18,10 +18,10 @@
<ul class="fl innner-nav">
<!-- <li><%#= link_to "论坛", forums_path, :class =>"new-nav-a", :target => "_blank" %></li>
<li><%#= link_to "帮助中心", "#{Setting.protocol}://#{Setting.host_name}/forums/1/memos/1168", :class => "new-nav-a", :target=>"_blank" %></li>-->
<li><%= link_to "项目实训", shixuns_path, :class => "new-nav-a font-16", :target => "_blank" %></li>
<li><%= link_to "全部实训", shixuns_path, :class => "new-nav-a font-16" %></li>
<!--<li><%#= link_to "课程实训", subjects_path, :class => "new-nav-a font-16", :target => "_blank" %></li>-->
<li><%= link_to "实训课堂", courses_path, :class => "new-nav-a font-16", :target => "_blank" %></li>
<li><%= link_to "实训套件", subjects_path, :class => "new-nav-a font-16" %></li>
<li><%= link_to "在线课堂", courses_path, :class => "new-nav-a font-16" %></li>
<div class="cl"></div>
</ul>
<div class="edu-unlogin-nav">

View File

@ -56,7 +56,7 @@
<p class="mb10 font-14">
<i class="fa fa-map-marker mr5 color-grey" ></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> >
<%= link_to '实训课堂', courses_path %> >
<%= link_to '在线课堂', courses_path %> >
<%= link_to @course.syllabus.title, syllabus_path(@course.syllabus), :title => '课程' %> ><%= @course.name%>
<%#= link_to @course.name, course_path(@course), :title => '班级' %>
</p>

View File

@ -26,7 +26,7 @@
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey" ></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> >
<%= link_to '实训课堂', courses_path %> >
<%= link_to '在线课堂', courses_path %> >
<%= link_to @course.syllabus.title, syllabus_path(@course.syllabus), :title => '课程' %> ><%= @course.name%>
<%#= link_to @course.name, course_path(@course), :title => '班级' %>
</p>

View File

@ -42,7 +42,7 @@
<% when 9 %>
留言
<% when 10 %>
<%= @sub_type == 1 ? "身份认证":(@sub_type == 2? "适用授权":(@sub_type == 3?"部门审批":(@sub_type == 4?"单位审批":(@sub_type == 5?"项目实训发布":"课程实训发布"))))%>
<%= @sub_type == 1 ? "身份认证":(@sub_type == 2? "适用授权":(@sub_type == 3?"部门审批":(@sub_type == 4?"单位审批":(@sub_type == 5?"全部实训发布":"课程实训发布"))))%>
<% when 11 %>
工程认证+
<% when 12 %>
@ -58,7 +58,7 @@
<li><%= link_to "班级列表", classroom_classment_managements_path %></li>
</ul>
</li>
<li class="fl edu-admin-nav-li edu-position <%= 'active' if @menu_type == 3 %>"><a href="javascript:void(0);" class="edu-admin-nav-a">项目实训+</a>
<li class="fl edu-admin-nav-li edu-position <%= 'active' if @menu_type == 3 %>"><a href="javascript:void(0);" class="edu-admin-nav-a">全部实训+</a>
<ul class="edu-admin-nav-inner edu-absolute">
<li><%= link_to "实训列表", shixuns_managements_path %></li>
<li><%= link_to "已发布的实训", publish_shixuns_managements_path %></li>
@ -92,7 +92,7 @@
<li><%= link_to "试用授权", :controller => "managements", :action => "trial_authorization" %></li>
<li><%= link_to "部门审批", depart_managements_path %></li>
<li><%= link_to '单位审批', unit_managements_path %></li>
<li><%= link_to '项目实训发布', shixun_authorization_managements_path %></li>
<li><%= link_to '全部实训发布', shixun_authorization_managements_path %></li>
<li><%= link_to '课程实训发布', subject_authorization_managements_path %></li>
</ul>
</li>

View File

@ -1,6 +1,6 @@
<div class="task-pm-content" >
<p class="mb10 mt10"><i class="fa fa-map-marker mr5 color-grey" ></i>
<a href="<%= user_path(User.current) %>"><%= User.current.show_name %></a> > <a href="<%= shixuns_path %>">项目实训</a> > 新建实训
<a href="<%= user_path(User.current) %>"><%= User.current.show_name %></a> > <a href="<%= shixuns_path %>">全部实训</a> > 新建实训
</p>
<div class="edu-con-top">
<p class="ml15 color-grey">新建实训</p>

View File

@ -1,7 +1,7 @@
<div class="edu-class-container" style="flex: 1 0 auto;">
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey"></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path %>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path %>
</p>
<div class="edu-con-top ">
<p class="ml15 color-grey">编辑课程</p>

View File

@ -1,6 +1,6 @@
<div class="edu-class-container" >
<p class="mb10"><i class="fa fa-map-marker mr5 color-grey" ></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path() %> > 我的课堂
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path() %> > 我的课堂
</p>
<div class="edu-con-bg01 edu-bg-shadow">
<div class="">

View File

@ -1,7 +1,7 @@
<div class="edu-class-container" style="flex: 1 0 auto;">
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey"></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path %>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path %>
</p>
<div class="edu-con-top ">
<p class="ml15 color-grey">新建课程</p>

View File

@ -6,7 +6,7 @@
<div class="edu-class-container" style="flex: 1 0 auto;">
<p class="mb10">
<i class="fa fa-map-marker mr5 color-grey" ></i>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path %> > <%= @syllabus.title %></p>
<%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path %> > <%= @syllabus.title %></p>
<div class="edu-class-box pr">
<% if !(@is_syllabus_admin || @is_syllabus_member) %>
<div class="syllabus_tip_box fontGrey2" style="left:-190px; top:140px;">

View File

@ -1,6 +1,6 @@
<div class="edu-class-container " >
<p class="mb10"><i class="fa fa-map-marker mr5 color-grey " ></i><a href="<%= user_path(@user) %>"><%= @user.show_name %> </a> >
<a href="<%= shixuns_path %>">项目实训 </a> > 我的实训 </p>
<a href="<%= shixuns_path %>">全部实训 </a> > 我的实训 </p>
<div class="edu-con-bg01 edu-bg-shadow" >
<div class="">
<div class="edu-tab clearfix mb20" >