parent
43511c8e97
commit
394beedcc2
|
@ -90,10 +90,10 @@
|
|||
</h3>
|
||||
|
||||
<% month_now = Time.now.strftime("%m").to_i %>
|
||||
<% year_now = Time.new.strftime("%Y") %>
|
||||
<% year_now = 2014 %>
|
||||
<!-- 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, 2014, course_term) %>
|
||||
<% @school_id.nil? ? cur_school_course = [] : cur_school_course = find_miracle_course(10,7,@school_id, year_now, course_term) %>
|
||||
|
||||
<% if cur_school_course.count == 0 %>
|
||||
<span>
|
||||
|
|
Loading…
Reference in New Issue