<%= l(:label_contest_innovate) %> |
- 当前位置 : |
+ <%= l(:label_user_location) %> : |
<% if User.current.logged? %>
<% unless User.current.user_extensions.identity == 1 %>
diff --git a/app/views/bids/index.html.erb b/app/views/bids/index.html.erb
index 5b7897c3f..4c1daec49 100644
--- a/app/views/bids/index.html.erb
+++ b/app/views/bids/index.html.erb
@@ -5,7 +5,7 @@
<%= l(:label_requirement_enterprise ) %> |
- 当前位置 : |
+ <%= l(:label_user_location) %> : |
<% if User.current.logged? %>
<%= link_to(l(:label_new_call), {:controller => 'bids', :action => 'new_bid'}, :class => 'icon icon-add') %>
diff --git a/app/views/layouts/base_bids.html.erb b/app/views/layouts/base_bids.html.erb
index 2cd973009..377f44132 100644
--- a/app/views/layouts/base_bids.html.erb
+++ b/app/views/layouts/base_bids.html.erb
@@ -34,7 +34,7 @@
企业众包社区 |
- 当前位置 : |
+ <%= l(:label_user_location) %> : |
<%= form_tag(calls_path, :method => :get) do %>
diff --git a/app/views/layouts/base_contest.html.erb b/app/views/layouts/base_contest.html.erb
index 200a47a7b..53918720f 100644
--- a/app/views/layouts/base_contest.html.erb
+++ b/app/views/layouts/base_contest.html.erb
@@ -27,7 +27,7 @@
创新竞赛社区 |
- 当前位置 : |
+ <%= l(:label_user_location) %> : |
<%= form_tag(:controller => 'bids', :action => 'contest', :method => :get) do %>
diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb
index 64afdc8b2..cc76e8ea7 100644
--- a/app/views/layouts/base_courses.html.erb
+++ b/app/views/layouts/base_courses.html.erb
@@ -29,7 +29,7 @@
高校课程实践社区 |
- 当前位置 : |
+ <%= l(:label_user_location) %> : |
<%= form_tag(:controller => 'projects', :action => 'search', :method => :get) do %>
diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb
index cf381548a..3422f4d9a 100644
--- a/app/views/layouts/base_homework.html.erb
+++ b/app/views/layouts/base_homework.html.erb
@@ -25,7 +25,7 @@
高校课程实践社区 |
- 当前位置 : |
+ <%= l(:label_user_location) %> : |
diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb
index 7916806b4..80457af33 100644
--- a/app/views/layouts/base_projects.html.erb
+++ b/app/views/layouts/base_projects.html.erb
@@ -28,7 +28,7 @@
软件项目托管社区 |
- 当前位置: |
+ <%= l(:label_user_location) %> : |
<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
diff --git a/app/views/projects/course.html.erb b/app/views/projects/course.html.erb
index 7ba961abb..9ab5a42b5 100644
--- a/app/views/projects/course.html.erb
+++ b/app/views/projects/course.html.erb
@@ -2,27 +2,36 @@
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
<% end %>
-<%= form_tag(:controller => 'projects', :action => 'search', :method => :get) do %>
-
-
+
+
+ <%= form_tag(:controller => 'projects', :action => 'search', :method => :get) do %>
+
- <%= l(:label_new_course)%> |
-
- <% if User.current.logged?%>
+ | <%= l(:label_course_practice) %> |
+ <%= l(:label_user_location) %> : |
+
+ <% if User.current.logged?%>
<% if User.current.user_extensions.identity == 0 %>
<%= link_to(l(:label_course_new), {:controller => 'projects', :action => 'new', :course => 1, :project_type => @project_type}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %> |
<% end %>
- <% end %>
-
-
- <%= text_field_tag 'name', params[:name], :size => 30 %>
- <%= hidden_field_tag 'project_type', params[:project_type] %>
- <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
- |
+ <% end %>
+
+
+
+ <%= text_field_tag 'name', params[:name], :size => 30 %>
+ <%= hidden_field_tag 'project_type', params[:project_type] %>
+ <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
+
+ |
+
+
+ <%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'course', :project_type => 1 %> |
+ <%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_course_practice), :controller => 'projects', :action => 'course', :project_type => 1 %> |
-
-<% end %>
+ <% end %>
+
+
<%= sort_course(@s_type, @project_type)%>
| | | | | |