2016-01-18 15:48:26 +08:00
|
|
|
|
<% unless excellent_course_recommend(course).count == 0 %>
|
|
|
|
|
<ul class="courseR mb10">
|
2016-01-20 18:37:39 +08:00
|
|
|
|
<h4 class="mb5" ><%= l(:label_homework_recommendation) %>:</h4>
|
2016-01-20 15:43:33 +08:00
|
|
|
|
<% excellent_course_recommend(course).each do |e_course| %>
|
|
|
|
|
<li class="mt15"> <%= image_tag(url_to_avatar(e_course), :width => "40", :height => "40", :class => "fl mr10 rankPortrait", :alt => "logo") %>
|
2016-01-18 15:48:26 +08:00
|
|
|
|
<div class="fl">
|
2016-01-20 15:43:33 +08:00
|
|
|
|
<p class="f12 mb5"><%=link_to e_course.name, course_path(e_course.id), :class => "hidden fl w170" %></p>
|
2016-01-18 15:48:26 +08:00
|
|
|
|
<p class="f12">
|
2016-01-20 15:43:33 +08:00
|
|
|
|
<span class="fl mr15 fontGrey4"><%= l(:project_module_attachments) %>(<%= link_to e_course.attachments.count, course_files_path(e_course), :class => "linkBlue2" %>)</span>
|
2016-01-22 20:45:25 +08:00
|
|
|
|
<span class="fl fontGrey4"><%= l(:label_homework_commont) %>(<%= link_to e_course.homework_commons.count, homework_common_index_path(:course=>e_course.id), :class => "linkBlue2" %>)</span></p>
|
2016-01-18 15:48:26 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</ul>
|
|
|
|
|
<% end %>
|
|
|
|
|
|