作业论坛下载的问题

exceptionHandle
yanxd 12 years ago
parent 48172599cc
commit fbd02dc026

@ -27,7 +27,7 @@
<td class="filename" style="width:62%;"><%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> </td>
<td style="width:19%; text-align: center;"><%= c1.downloads %> </td>
<td class="filename download_icon" style="width:19%; text-align: center;">
<%= link_to_attachment c1, {:text => image_tag("/images/button/download.png", width: "22px", alt: l(:button_download)) }%>
<%= link_to_attachment c1, {:download => true, :text => image_tag("/images/button/download.png", width: "22px", alt: l(:button_download)) }%>
</td>
</tr>
<% end %>

@ -19,7 +19,7 @@
<div class="cb">
<span style=""><%= result.filename %></span>
<span style="margin-left: 4px;">
<%= link_to_attachment result, {:text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
<%= link_to_attachment result, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
</span>
</div>
<%= result.description %>

Loading…
Cancel
Save