添加教师统计数、学生统计数

This commit is contained in:
huang 2016-03-25 19:20:36 +08:00
parent e764075bd6
commit ba25f41bcb
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<% is_teacher = User.current.logged? && (User.current.admin? || User.current.allowed_to?(:as_teacher,@course)) %>
<% teacher_num = 0 %>
<% student_num = 0 %>
<% teacher_num = TeacherAndAssistantCount(@course) %>
<% student_num = studentCount(@course) %>
<div class="pr_info_logo fl mr10 mb5">
<% if is_excellent_course(@course) %>
<img src="/images/course/boutique.png" width="50" height="auto" alt="精品" class="boutiqueP" />