diff --git a/app/views/layouts/_logined_header.html.erb b/app/views/layouts/_logined_header.html.erb
index 55cd14c9..30ef0658 100644
--- a/app/views/layouts/_logined_header.html.erb
+++ b/app/views/layouts/_logined_header.html.erb
@@ -6,8 +6,25 @@
"><%= link_to "翻转课堂", courses_path %>
"><%= link_to "开发社区", shixuns_path %>
+
+ <% careers = Career.published.order("created_at asc") %>
+ <% if careers.present? %>
+
+ <% end %>
"><%= link_to "竞赛", competitions_path %>
"><%= link_to "问答", forums_path %>
+ <% if User.current.ec_school.present? %>
+ " id="ec_banner">
+ <%= link_to "认证", department_ecs_path(:school_id => User.current.ec_school) %>
+
+ <% end %>
- <% if User.current.logged? %>
-
- <% else %>
-
- <%= link_to '登录', signin_path, :class => "mr5 color-white" %>
-
- <%= link_to '注册', user_join_path, :class => "ml5 color-white" %>
-
- <% end %>
+
+
+
diff --git a/app/views/layouts/_unlogin_header.html.erb b/app/views/layouts/_unlogin_header.html.erb
index 72dd2731..f38a1dce 100644
--- a/app/views/layouts/_unlogin_header.html.erb
+++ b/app/views/layouts/_unlogin_header.html.erb
@@ -8,36 +8,47 @@
"><%= link_to "开发社区", shixuns_path %>
+ <% careers = Career.published.order("created_at asc") %>
+ <% if careers.present? %>
+
+ <% end %>
"><%= link_to "竞赛", competitions_path %>
"><%= link_to "问答", forums_path %>
-
+
<%= link_to '登录', signin_path, :class => "mr5 color-white" %>
-
- <%= link_to '注册', user_join_path, :class => "ml5 color-white" %>
+
+ <%= link_to '注册', user_join_path, :class => "ml5 color-white" %>
@@ -55,8 +66,8 @@
<%= link_to '新建项目', new_project_path() %>
- - <%= link_to "加入课堂", signin_path, :remote => true %>
- - <%= link_to "加入项目", applied_join_project_path, :remote => true %>
+ - <%= link_to "加入课堂", signin_path, :remote => true %>
+ - <%= link_to "加入项目", applied_join_project_path, :remote => true %>
diff --git a/app/views/layouts/base_management.html.erb b/app/views/layouts/base_management.html.erb
index 9d1d77c8..e038f1c2 100644
--- a/app/views/layouts/base_management.html.erb
+++ b/app/views/layouts/base_management.html.erb
@@ -113,9 +113,9 @@