修复课程首页当前学校课程数为9时,页面显示有问题

This commit is contained in:
sw 2014-11-20 09:25:33 +08:00
parent 14da0c7d73
commit ddd25f96aa
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<% course_list.map do |course| %> <% course_list.map do |course| %>
<li class='<%= cycle("odd", "even") %>' title=<%= course.description.to_s.gsub(/<\/?.*?>/,"") %>> <li class='<%= cycle("odd", "even") %>' title="<%= course.description.to_s.gsub(/<\/?.*?>/,'') %>" style="min-height: 69px;">
<div class='avatar'> <div class='avatar'>
<%= image_tag(get_course_avatar(course), :class => "avatar-4") %> <%= image_tag(get_course_avatar(course), :class => "avatar-4") %>
</div> </div>