2016-06-30 10:44:11 +08:00
|
|
|
|
<% teachers_num = teacher_count @syllabus%>
|
|
|
|
|
<% students_num = student_count @syllabus%>
|
|
|
|
|
<% files_num = file_count @syllabus%>
|
2016-06-28 15:13:04 +08:00
|
|
|
|
<div class="pr_info_logo fl mb5">
|
|
|
|
|
<%= image_tag("../images/syllabus.jpg",width:"60px", height: "60px") %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fl ml15">
|
|
|
|
|
<p class="homepageImageName mb5"><%=@syllabus.title %></p>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div>
|
2016-07-01 11:11:53 +08:00
|
|
|
|
<div class="mb5" id="syllabus_eng_name_show">
|
|
|
|
|
<%= render :partial => 'layouts/syllabus_eng_name', :locals => {:syllabus => @syllabus}%>
|
2016-06-28 15:13:04 +08:00
|
|
|
|
</div>
|
2016-07-01 11:11:53 +08:00
|
|
|
|
<textarea class="homepageSignatureTextarea none" placeholder="请编辑英文名称" id="syllabus_eng_name_edit" onblur="edit_syllabus_eng_name('<%= edit_syllabus_eng_name_syllabus_path(@syllabus.id)%>');"><%= @syllabus.eng_name %></textarea>
|
2016-06-28 15:13:04 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="pr_info_foot ">
|
2016-07-01 11:11:53 +08:00
|
|
|
|
教师(<a class="info_foot_num c_blue" href="javascript:void(0);" target="_blank" style="cursor: default" title="课程下全部班级的教师数"><%=teachers_num %></a>)<span>|</span>
|
|
|
|
|
学生(<a class="info_foot_num c_blue" href="javascript:void(0);" target="_blank" style="cursor: default" title="课程下全部班级的学生数"><%=students_num %></a>)<span>|</span>
|
|
|
|
|
资源(<a class="info_foot_num c_blue" href="javascript:void(0);" target="_blank" style="cursor: default" title="课程下全部班级的资源数"><%=files_num %></a>)</div>
|
2016-06-28 15:13:04 +08:00
|
|
|
|
<div class="cl"></div>
|