parent
c1705bd65b
commit
43511c8e97
|
@ -93,7 +93,7 @@
|
|||
<% year_now = Time.new.strftime("%Y") %>
|
||||
<!-- 3-8月份为查找春季课程,9-2月份为查找秋季课程 -->
|
||||
<% (month_now >= 3 && month_now < 9) ? course_term = "春季学期" : course_term = "秋季学期" %>
|
||||
<% @school_id.nil? ? cur_school_course = [] : cur_school_course = find_miracle_course(10,7,@school_id, year_now, course_term) %>
|
||||
<% @school_id.nil? ? cur_school_course = [] : cur_school_course = find_miracle_course(10,7,@school_id, 2014, course_term) %>
|
||||
|
||||
<% if cur_school_course.count == 0 %>
|
||||
<span>
|
||||
|
|
Loading…
Reference in New Issue