<%=l(:label_course_resource_list)%>

<% @resource.each do |resource| %> "> <% end %>
资源名称 <%= link_to "资源大小",admin_course_resource_list_path(:sort => "file_size") %> 资源类型 <%= link_to "上传时间",admin_course_resource_list_path(:sort => "file_upload") %> <%= link_to "下载次数",admin_course_resource_list_path(:sort => "file_download_times") %> 上传者 所属课程
<%= link_to truncate(resource.filename, :length => 18), download_named_attachment_path(resource.id, resource.filename ), :title => resource.filename,:class=>'resourcesBlack'%> <%= number_to_human_size(resource.filesize)%> 课程资源 <%= format_date(resource.created_on)%> <%= resource.downloads %> <%= link_to(User.find(resource.author_id).realname, user_path(User.find(resource.author_id)) ) %> <%=link_to truncate(Course.find(resource.container_id).name, :length => 10), course_path(Course.find(resource.container_id)), :title => Course.find(resource.container_id).name, :class => "hidden fl w170" %>
<% html_title(l(:label_course_resource_list)) -%>