<% if session[:enterprise_college] == 2 %>
<%= render :partial => 'layouts/base_enterprise_header'%>
<% elsif session[:enterprise_college] == 1 %>
<%= render :partial => 'layouts/base_college_header'%>
<% else %>
<%= render :partial => 'layouts/base_header'%>
<% end %>
-
<%= link_to l(:label_course_overview), project_path(@project), :class => link_class(:overview)%>
-
<%= link_to l(:label_homework), {:controller => 'projects', :action => 'homework'}, :class => link_class('Homework')%>
-
<%= link_to l(:label_course_file), project_files_path(@project), :class => link_class(:files)%>
-
<%= link_to l(:label_course_news), {:controller => 'news', :action => 'index', :project_id => @project}, :class => link_class(:news)%>
<% if User.current.logged? && (User.current.admin? || (!Member.where('user_id = ? and project_id = ?', User.current.id, @project.id).first.nil? && (Member.where('user_id = ? and project_id = ?', User.current.id, @project.id).first.roles&Role.where('id = ? or id = ?', 3, 7)).size >0))%>
<% end %>
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<%= render_flash_messages %>
<%= render :partial => 'layouts/base_footer'%>
<%= debug(params) if Rails.env.development? %>