Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
db826a71ff
|
@ -132,7 +132,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
<% else %>
|
||||
<% if school_course.count < 9 %>
|
||||
<% if school_course.count < 10 %>
|
||||
<span>
|
||||
<%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => nil} %>
|
||||
</span>
|
||||
|
@ -181,7 +181,7 @@
|
|||
</li>
|
||||
<%end%>
|
||||
<% end; reset_cycle %>
|
||||
<% if school_course.count < 9 %>
|
||||
<% if school_course.count < 10 %>
|
||||
<li>
|
||||
<h1></h1>
|
||||
|
||||
|
@ -189,7 +189,7 @@
|
|||
该学校开设课程较少,您可以查看其他学校课程
|
||||
</p>
|
||||
</li>
|
||||
<% find_all_new_hot_course(9 - school_course.count, @school_id).map do |course| %>
|
||||
<% find_all_new_hot_course(10 - school_course.count, @school_id).map do |course| %>
|
||||
<li class='<%= cycle("odd", "even") %>' title=<%= course.description.to_s.gsub(/<\/?.*?>/,"") %>>
|
||||
<div class='avatar'>
|
||||
<%= image_tag(get_course_avatar(course), :class => "avatar-4") %>
|
||||
|
|
Loading…
Reference in New Issue