课程界面默认图片路径修改

This commit is contained in:
sw 2015-03-30 10:11:11 +08:00
parent ba518f0bd9
commit e7da022564
1 changed files with 1 additions and 5 deletions

View File

@ -62,11 +62,7 @@
<div class="project_info">
<div class="pr_info_logo fl mr10 mb5">
<!--<a href="#"><img src="images/courses/pic_courses.jpg" width="60" height="60" alt="logo" /></a>-->
<% if get_avatar?(@course) %>
<%= image_tag(url_to_avatar(@course), :width => "60", :height => "60") %>
<% else %>
<%= link_to image_tag('../images/avatars/course/course.jpg', :width => "60", :height => "60"), course_path(@course) %>
<% end %>
</div>
<div class="pr_info_id fl mb5 f14">
ID:<%= @course.id%>