|
|
|
@ -9,18 +9,35 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="r1" style="word-break: break-all;word-wrap: break-word;">
|
|
|
|
|
<div class="cb">
|
|
|
|
|
<strong><%= l(:label_attachment) %>: <%= file.filename %></strong>
|
|
|
|
|
<strong>
|
|
|
|
|
<%= l(:label_attachment) %>:
|
|
|
|
|
|
|
|
|
|
<%= file.filename %>
|
|
|
|
|
</strong>
|
|
|
|
|
<span style="margin-left: 4px;">
|
|
|
|
|
<%= link_to_attachment file, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
|
|
|
|
|
<%= link_to_attachment file, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<strong><%= l(:field_description) %></strong>: <%= file.description %>
|
|
|
|
|
<div class="c9 gray-color"> <%= l('attachment.category')%><%=result_come_from file%> </div>
|
|
|
|
|
<strong>
|
|
|
|
|
<%= l(:field_description) %>
|
|
|
|
|
</strong>:
|
|
|
|
|
|
|
|
|
|
<%= file.description %>
|
|
|
|
|
<div class="c9 gray-color">
|
|
|
|
|
<%= l('label_attachment_category')%>
|
|
|
|
|
<%=result_come_from file%>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="gray blue-color">
|
|
|
|
|
<%= l('attachment.download_num')%><%= file.downloads%>|
|
|
|
|
|
<%= l('attachment.size')%><%= number_to_human_size(file.filesize) %>|
|
|
|
|
|
<%= l('attachment.sharer')%><a class="gray" ><%= link_to file.author, user_path(file.author), target: "_blank" unless file.author.blank? %></a>|
|
|
|
|
|
<%= l('attachment.upload_time')%><%= format_time(file.created_on) %>
|
|
|
|
|
<%= l('label_attachment_download_num')%>
|
|
|
|
|
<%= file.downloads%>|
|
|
|
|
|
<%= l('label_attachment_size')%>
|
|
|
|
|
<%= number_to_human_size(file.filesize) %>|
|
|
|
|
|
<%= l('label_attachment_sharer')%>
|
|
|
|
|
<a class="gray" >
|
|
|
|
|
<%= link_to file.author, user_path(file.author), target: "_blank" unless file.author.blank? %>
|
|
|
|
|
</a>|
|
|
|
|
|
<%= l('label_attachment_upload_time')%>
|
|
|
|
|
<%= format_time(file.created_on) %>
|
|
|
|
|
</span>
|
|
|
|
|
<div style="display: none"></div>
|
|
|
|
|
</td>
|
|
|
|
|