<% @nav_dispaly_project_label = 1 @nav_dispaly_forum_label = 1 %> <%#@nav_dispaly_project_label = 1 %> <%= h html_title %> <%= csrf_meta_tag %> <%= favicon %> <%= javascript_heads %> <%= heads_for_theme %> <%= stylesheet_link_tag 'pleft','prettify','jquery/jquery-ui-1.9.2','header','new_user','repository','org' %> <%= javascript_include_tag 'cookie','project', 'header','prettify','select_list_move','org'%> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%>
<%= link_to @organization.name, organization_path(@organization.id), :class=>"pr_info_name fl c_dark fb break_word" %> <% if @organization.is_public? %> <%= l(:label_public)%> <% else %> <%= l(:label_private)%> <% end %>
<% if User.current.admin_of_org?(@organization) %> 配置 <% end %>
<%= link_to '文章', organization_org_document_comments_path(@organization) %> ( <%= link_to OrgDocumentComment.where("organization_id =? and parent_id is null", @organization.id).count, organization_org_document_comments_path(@organization), :class => "linkBlue" %> ) |  <%= link_to '成员', members_organization_path(@organization.id) %> (<%= link_to @organization.org_members.count, members_organization_path(@organization.id), :id => 'org_members_count_id', :class => "linkBlue" %>)
<%= link_to "动态",organization_path(@organization), :class => "homepageMenuText" %>
    <%= render :partial => 'layouts/org_projects',:locals=>{:projects=>@organization.projects.reorder('created_at').limit(5),:org_id=>@organization.id,:page=>1}%>
课程
    • <%= link_to "加入课程",join_course_menu_organization_path(@organization),:remote => true,:class => "menuGrey",:method => "post"%>
    <%= render :partial => 'layouts/org_courses',:locals=>{:courses=>@organization.courses.reorder('created_at').limit(5),:org_id=>@organization.id,:page=>1}%>
<%= render_flash_messages %> <%= yield %> <%= call_hook :view_layouts_base_content %>
<%= render :partial => 'layouts/footer' %>