diff --git a/app/views/courses/new.html.erb b/app/views/courses/new.html.erb index 93591a739..595a593bd 100644 --- a/app/views/courses/new.html.erb +++ b/app/views/courses/new.html.erb @@ -1,7 +1,7 @@
- <%= 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 %>
- <%= 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() %> > 编辑
<%= form_for @homework, :html => {:id => 'homework_common_submit_form'} do |f| %> <% if @homework_type == 1 %> diff --git a/app/views/homework_bank/index.html.erb b/app/views/homework_bank/index.html.erb index ee3b5d3bf..8ca8eddb6 100644 --- a/app/views/homework_bank/index.html.erb +++ b/app/views/homework_bank/index.html.erb @@ -10,7 +10,7 @@<%= 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() %> > 题库
- <%= 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() %> > 新建
<%= labelled_form_for @homework, :url =>{:controller=>'homework_bank',:action => 'create'}, :html => {:id => 'homework_common_submit_form'}, :method => "post" do |f| %> <% if @homework_type == 1 %> diff --git a/app/views/homework_bank/show.html.erb b/app/views/homework_bank/show.html.erb index dee3499d5..8e863423f 100644 --- a/app/views/homework_bank/show.html.erb +++ b/app/views/homework_bank/show.html.erb @@ -18,7 +18,7 @@- <%= 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)) %>
+ <%= 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)) %><% unless @homework.is_public %> diff --git a/app/views/layouts/_logined_force_header.html.erb b/app/views/layouts/_logined_force_header.html.erb index 79d3dafb0..a4e356cc9 100644 --- a/app/views/layouts/_logined_force_header.html.erb +++ b/app/views/layouts/_logined_force_header.html.erb @@ -18,7 +18,7 @@
<%= 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 => '班级' %>
diff --git a/app/views/layouts/base_edu_course.html.erb b/app/views/layouts/base_edu_course.html.erb index 2a2671080..3dc0093c9 100644 --- a/app/views/layouts/base_edu_course.html.erb +++ b/app/views/layouts/base_edu_course.html.erb @@ -26,7 +26,7 @@<%= 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 => '班级' %>
diff --git a/app/views/layouts/base_management.html.erb b/app/views/layouts/base_management.html.erb index db8f7b39b..563513c76 100644 --- a/app/views/layouts/base_management.html.erb +++ b/app/views/layouts/base_management.html.erb @@ -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 @@- <%= User.current.show_name %> > 项目实训 > 新建实训 + <%= User.current.show_name %> > 全部实训 > 新建实训
新建实训
diff --git a/app/views/syllabuses/edit.html.erb b/app/views/syllabuses/edit.html.erb index 6af31363b..53fbade02 100644 --- a/app/views/syllabuses/edit.html.erb +++ b/app/views/syllabuses/edit.html.erb @@ -1,7 +1,7 @@- <%= 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 %>
编辑课程
diff --git a/app/views/syllabuses/index.html.erb b/app/views/syllabuses/index.html.erb index a51fdb527..9fa5a0303 100644 --- a/app/views/syllabuses/index.html.erb +++ b/app/views/syllabuses/index.html.erb @@ -1,6 +1,6 @@- <%= 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() %> > 我的课堂
- <%= 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 %>
新建课程
diff --git a/app/views/syllabuses/show.html.erb b/app/views/syllabuses/show.html.erb index 3a2135910..bca81f4e6 100644 --- a/app/views/syllabuses/show.html.erb +++ b/app/views/syllabuses/show.html.erb @@ -6,7 +6,7 @@- <%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '实训课堂', courses_path %> > <%= @syllabus.title %>
+ <%= link_to User.current.show_real_name, user_path(User.current) %> > <%= link_to '在线课堂', courses_path %> > <%= @syllabus.title %>