diff --git a/app/views/courses/index.html.erb b/app/views/courses/index.html.erb index 6b75bee67..e7a4a29db 100644 --- a/app/views/courses/index.html.erb +++ b/app/views/courses/index.html.erb @@ -10,8 +10,14 @@ <%= form_tag(:controller => 'courses', :action => 'search', :method => :get) do %> - - + + - - +
<%= l(:label_course_all) %><%= l(:label_user_location) %> : + + 高校课程实践社区 + + + <%= l(:label_user_location) %> : + <% if User.current.logged?%> <% if User.current.user_extensions.identity == 0 %> @@ -28,8 +34,12 @@
<%= link_to request.host()+"/courses", :controller => 'courses', :action => 'index' %> <%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_course_all), :controller => 'courses', :action => 'index' %> + <%=link_to l(:field_homepage), home_path %> > + + <%=l(:label_courses_management_platform)%> + +
<% end %> diff --git a/app/views/courses/search.html.erb b/app/views/courses/search.html.erb index a06e4a459..e2c701932 100644 --- a/app/views/courses/search.html.erb +++ b/app/views/courses/search.html.erb @@ -5,8 +5,14 @@ <%= form_tag(:controller => 'courses', :action => 'search', :method => :get) do %> - - + + - - +
<%= l(:label_course_practice) %><%= l(:label_user_location) %> : + + 高校课程实践社区 + + + <%= l(:label_user_location) %> : + <% if User.current.logged?%> <% if User.current.user_extensions.identity == 0 %> @@ -22,8 +28,12 @@
<%= link_to request.host() + "/courses", :controller => 'courses', :action => 'index'%> <%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_course_practice), :controller => 'courses', :action => 'index' %> + <%=link_to l(:field_homepage), home_path %> > + + <%=l(:label_courses_management_platform)%> + +
<% end %> diff --git a/app/views/layouts/_base_homework_attach.html.erb b/app/views/layouts/_base_homework_attach.html.erb index e9324a98f..7301c87dc 100644 --- a/app/views/layouts/_base_homework_attach.html.erb +++ b/app/views/layouts/_base_homework_attach.html.erb @@ -5,15 +5,32 @@
- - + + - - +
高校课程实践社区<%= l(:label_user_location) %> : + + 高校课程实践社区 + + + <%= l(:label_user_location) %> : +
<%= link_to request.host()+"/courses", :controller => 'courses', :action => 'index'%>

<%=link_to "主页", home_path %> > <%=link_to l(:label_course_practice), :controller => 'courses', :action => 'index' %> > - <%= link_to(homework_attach.bid.courses.first.name.to_s, homework_course_path(homework_attach.bid.courses.first)) if homework_attach.bid.courses.first%> > - <%=link_to(homework_attach.bid.name, course_for_bid_path(homework_attach.bid)) %> > <%= link_to homework_attach.name.nil? ? homework_attach.user.name + "提交的作业" : homework_attach.name,homework_attach_path(homework_attach)%>

+

+ <%=link_to "主页", home_path %> > + + <%=l(:label_courses_management_platform)%> + > + + <%= link_to(homework_attach.bid.courses.first.name.to_s, homework_course_path(homework_attach.bid.courses.first)) if homework_attach.bid.courses.first%> + > + <%=link_to(homework_attach.bid.name, course_for_bid_path(homework_attach.bid)) %> > + + <%= link_to homework_attach.name.nil? ? homework_attach.user.name + "提交的作业" : homework_attach.name,homework_attach_path(homework_attach)%> + +

+
\ No newline at end of file