diff --git a/app/views/layouts/base_org_custom.html.erb b/app/views/layouts/base_org_custom.html.erb
index 4a9ba4dce..355ec23ec 100644
--- a/app/views/layouts/base_org_custom.html.erb
+++ b/app/views/layouts/base_org_custom.html.erb
@@ -18,7 +18,7 @@
<% update_visiti_count @organization %>
diff --git a/app/views/organizations/_org_custom_header.html.erb b/app/views/organizations/_org_custom_header.html.erb
index 027e4e8ec..4be46e789 100644
--- a/app/views/organizations/_org_custom_header.html.erb
+++ b/app/views/organizations/_org_custom_header.html.erb
@@ -30,20 +30,45 @@
- - 首页
- - 网站头条
- - 精品课程
- - 热点项目
- - 精华帖子
- - 最新动态
- - 名师风采1
- - 学生英雄榜
- - 学生英雄榜
- - 学生英雄榜
- - 学生英雄榜
- - 学生英雄榜
+ <% subfield_content.each do |field| %>
+ <% if is_default_field?(field) %>
+ <% case field.name %>
+ <% when 'activity' %>
+ -
+ <%= link_to "首页", organization_path(@organization), :class => "por_index_act" %>
+
+ <% when 'course' %>
+ -
+ 课程动态
+
+ <% when 'project' %>
+ -
+ 项目动态
+
+ <% end %>
+ <% else %>
+ <% if field.field_type == "Post" && field.hide == 0 %>
+ - <%= field.name %>
+
+
+
+ <% field.sub_domains.each do |subdomain| %>
+ - <%=link_to subdomain.name, org_subfield_sub_domain_sub_document_comments_path(subdomain, :org_subfield_id => field.id), :class => "sn-link-grey" %>
+ - |
+ <% end %>
+
+
+ <% elsif field.field_type == "Resource" && field.hide == 0 %>
+ -
+ <%= field.name %>
+
+ <% end %>
+ <% end %>
+ <% end %>
-
配置
+ <% if User.current.admin_of_org?(@organization) %>
+
配置
+ <% end %>
@@ -57,7 +82,6 @@
$("#homepageProfileMenuIcon").removeClass("homepageProfileMenuIconhover");
$("#topnav_login_list").hide();
});
-
function signout(){
$.post(
'<%= signout_path%>',