add url to files

This commit is contained in:
nieguanghui 2014-01-14 09:33:00 +08:00
parent 85e89f5c09
commit e174c710ef
1 changed files with 3 additions and 1 deletions

View File

@ -81,13 +81,15 @@
<tr>
<td>文件名</td>
<td>下载次数</td>
<td>下载次数</td>
</tr>
</thead>
<tbody>
<% k.each do |c1|%>
<tr class="<%= cycle 'odd', 'even' %>">
<td class="filename" style="width:62%;"><%= link_to_attachment c1 %></td>
<td style="width:38%;"><%= c1.downloads %> </td>
<td style="width:19%;"><%= c1.downloads %> </td>
<td style="width:19%;"><%= attachFromUrl c1 %> </td>
</tr>
<% end %>
</tbody>