<%=l(:label_project_resource_list)%>

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