|
|
|
@ -40,6 +40,7 @@
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to("选入我的课程",quote_resource_show_course_file_path(@course,file),:class => "f_l re_select c_lorange",:remote => true) if has_course?(User.current,file) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= link_to '下载',download_named_attachment_path(file.id, file.filename, force: true),class: 'f_l re_open' %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
@ -65,4 +66,4 @@
|
|
|
|
|
<ul class="wlist">
|
|
|
|
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => @is_remote, :flag => true%>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|