<% @nav_dispaly_course_label = 1 %> <%= h html_title %> <%= csrf_meta_tag %> <%= favicon %> <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', 'nyan', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_heads %> <%= javascript_include_tag "jquery.leanModal.min" %> <%= heads_for_theme %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%>
<%= render :partial => 'layouts/base_header' %>
<% @project = Project.find_by_id(@project.id) %> <% @course = Course.find_by_extra(@project.identifier) %>
高校课程实践社区 <%= l(:label_user_location) %> :
<%= link_to request.host()+"/course", :controller => 'projects', :action => 'course' %>

<%= link_to "主页", home_path %> > <%= link_to l(:label_course_practice), :controller => 'projects', :action => 'course' %> > <%= link_to @project.name, nil %>

  • <%= link_to l(:label_course_overview), project_path(@project), :class => link_class(:overviews) %>
  • <%= link_to l(:label_homework), homework_project_path(@project), :class => link_class(:homework), :project_type => 1 %>
  • <%= 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) %>
  • <%= link_to l(:label_course_board), {:controller => 'boards', :action => 'index', :project_id => @project}, :class => link_class(:boards) %>
  • <%= link_to l(:label_course_feedback), project_feedback_path(@project), :class => link_class(:feedback) %>
  • <% 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 = ?', 7, 9)).size >0)) %> <% end %>
<%= render_flash_messages %> <%= yield %> <%= call_hook :view_layouts_base_content %>
<%= render :partial => 'layouts/base_footer' %>
<%= call_hook :view_layouts_base_body_bottom %>