<%= csrf_meta_tag %> <%= favicon %> <%= javascript_heads %> <%= heads_for_theme %> <%= stylesheet_link_tag 'org2','jquery/jquery-ui-1.9.2' %> <%= javascript_include_tag 'cookie','project', 'organization','header','prettify','select_list_move','org'%> <%= javascript_include_tag 'attachments' %> <%#= call_hook :view_layouts_base_html_head %> <%#= yield :header_tags -%>
    <% @subfield_content.each do |field| %> <% if is_default_field?(field) %> <% case field.name %> <% when 'activity' %> <% end %> <% else %> <% if field.field_type == "Post" && field.hide == 0 %> <% elsif field.field_type == "Resource" && field.hide == 0 %> <% end %> <% end %> <% end %> <% if User.current.admin_of_org?(@organization) %> <% end %>
<%# 更新访问数,刷新的时候更新访问次数 %> <% update_visiti_count @organization %> <%# over %>
<% @subfield_content.each do |field| %> <% if field.status.to_i == 1 %> <%= render :partial => 'organizations/org_subfield_leftT', :locals => {:field => field} %> <% elsif field.status.to_i == 3 %> <%#= render :partial => 'organizations/org_subfield_leftM', :locals => {:field => field} %>
<%= render :partial => 'organizations/org_subfield_leftM1', :locals => {:field => field} %> <%= render :partial => 'organizations/org_subfield_leftM2', :locals => {:field => field} %>
<% elsif field.status.to_i == 4 %> <%= render :partial => 'organizations/org_subfield_leftMD', :locals => {:field => field} %> <% elsif field.status.to_i == 5 %> <%= render :partial => 'organizations/org_subfield_leftD', :locals => {:field => field} %> <% end %> <% end %>
<% @subfield_content.each do |field| %> <% if field.status.to_i == 6 %> <%= render :partial => 'organizations/org_subfield_rightT', :locals => {:field => field} %> <% elsif field.status.to_i == 7 %> <%= render :partial => 'organizations/org_subfield_rightM', :locals => {:field => field} %> <% elsif field.status.to_i == 8 %> <%= render :partial => 'organizations/org_subfield_rightD', :locals => {:field => field} %> <% elsif field.status.to_i == 23 %> <%= render :partial => 'organizations/org_subfield_rightM2', :locals => {:field => field} %> <% end %> <% end %>
<%#= call_hook :view_layouts_base_body_bottom %>