<%= content_for(:header_tags) do %> <%= import_ke(enable_at: false, prettify: false, init_activity: true) %> <% end %> <%= javascript_include_tag 'baiduTemplate' %>

<%= link_to User.current.show_real_name, user_path(User.current),:class => "color-grey-9" %> > <%= link_to '课堂', courses_path,:class => "color-grey-9" %> > <%= @syllabus.title %>

<%# if !(@is_syllabus_admin || @is_syllabus_member) %> <%# end %>
  • <%= @syllabus.title %> <%# if @is_syllabus_admin %> <%# end %> <%= @syllabus.eng_name %>
  • <% if @is_syllabus_admin %>
  • <% end %>
  • <%= @syllabus.user.user_extensions.school.blank? ? '' : @syllabus.user.user_extensions.school.name %> <% if @syllabus.major_level %> <%= @syllabus.syllabus_major_level %> <%= @syllabus.syllabus_discipline_category %> <%= @syllabus.syllabus_first_level_discipline %> <% if @syllabus.major %> <%= @syllabus.syllabus_major %> <% end %> <% end %> <%= @syllabus.syllabus_type_str %>
<%# if @is_syllabus_teacher || @is_authen_teacher %> <%#= link_to '选用', choose_user_course_syllabus_path(@syllabus, :type => 'A'), :class => 'task-btn task-btn-orange fr ml20', :style => '', :remote => true %> <%# end %>

    授课大纲

<%= render :partial => 'syllabus_des' %>
<%#= render :partial => 'syllabus_homeworks', :locals => {:homeworks => nil} %>
<%= render :partial => 'show_ref' %>

教师团队

<% if @is_syllabus_admin %> 添加教师 <% end %>
分享
微信分享

用微信扫描二维码分享给你的小伙伴

<%= render :partial => "syllabus_members" %>

课堂列表

<% if @is_syllabus_admin %> 新建课堂 <% end %>
    <% if @courses.count == 0 %>

    暂无

    <% else %> <% @courses.each_with_index do |course, index| %>
  • <%= link_to course.name, course_path(course), :target => '_blank' %>
  • <% if index == 20 %> 查看全部 <% end %> <% end %> <% end %>
    <% if @end_courses.count == 0 %>

    暂无

    <% else %> <% @end_courses.each_with_index do |course, index| %>
  • <%= link_to course.name, course_path(course), :target => '_blank' %>
  • <% if index == 20 %> 查看全部 <% end %> <% end %> <% end %>
<%# if @is_syllabus_admin %> <%# end %>