修复课程主页没有2015年课程
This commit is contained in:
parent
d999a9f4a6
commit
90d9e77b32
|
@ -96,11 +96,11 @@
|
|||
year_now -= 1
|
||||
course_term = "秋季学期"
|
||||
elsif month_now < 9
|
||||
course_term = "秋季学期"
|
||||
course_term = "春季学期"
|
||||
end
|
||||
%>
|
||||
<%# (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) %>
|
||||
<% cur_school_course = @school_id.nil? ? [] : find_miracle_course(10,7,@school_id, year_now, course_term) %>
|
||||
|
||||
<% if cur_school_course.count == 0 %>
|
||||
<span>
|
||||
|
|
Loading…
Reference in New Issue