From 17e437619f44e6a0bc725f1fb603d833ebbde6e0 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Wed, 14 Sep 2016 17:09:13 +0800 Subject: [PATCH] . --- app/views/layouts/_course_base_info.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_course_base_info.html.erb b/app/views/layouts/_course_base_info.html.erb index 05ad4daf6..469382b48 100644 --- a/app/views/layouts/_course_base_info.html.erb +++ b/app/views/layouts/_course_base_info.html.erb @@ -1,7 +1,7 @@ <% is_teacher = User.current.logged? && (User.current.admin? || User.current.allowed_to?(:as_teacher,@course)) %> -<%# teacher_num = TeacherAndAssistantCount(@course) %> -<%# student_num = studentCount(@course) %> -<%# course_file_num = visable_attachemnts_incourse(@course).count %> +<% teacher_num = TeacherAndAssistantCount(@course) %> +<% student_num = studentCount(@course) %> +<% course_file_num = visable_attachemnts_incourse(@course).count %>

<%= link_to(@course.teacher.show_name, user_path(@course.teacher), :class => 'sy_cgrey') %>  >