From 99922379a3db21ccbe28cced2a63ca0ed00059c9 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 18 Sep 2017 10:00:23 +0800 Subject: [PATCH 01/30] =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=88=86=E7=8F=AD?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=B8=8D=E4=BC=9A=E6=98=BE=E7=A4=BA=E2=80=9C?= =?UTF-8?q?=E6=9C=AA=E5=88=86=E7=8F=AD=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_group_children_list.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/_group_children_list.html.erb b/app/views/layouts/_group_children_list.html.erb index 10e456a37..65c220334 100644 --- a/app/views/layouts/_group_children_list.html.erb +++ b/app/views/layouts/_group_children_list.html.erb @@ -3,13 +3,13 @@ <% group_count = @course.course_groups.count %> <%= group_count %> -
  • - <% count = @course.members.where(:course_group_id => 0).select{|m| m.roles.to_s.include?("Student")}.count %> - 未分班 - <%= count %> -
  • <% unless @course.course_groups.empty? %>