From 33c9331c7b0a5c5ae2d6d5e13596c37112480b72 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 28 Mar 2016 15:35:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AE=BE=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?=E7=A7=81=E6=9C=89/=E5=85=AC=E5=BC=80=20=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E5=A4=B4=E9=83=A8=E6=9C=AA=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_project_info.html.erb | 1 + app/views/layouts/base_courses.html.erb | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_project_info.html.erb b/app/views/layouts/_project_info.html.erb index d94cbdcc7..30f527595 100644 --- a/app/views/layouts/_project_info.html.erb +++ b/app/views/layouts/_project_info.html.erb @@ -1,6 +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 %>