处理资源标签搜索中标签丢失的问题
This commit is contained in:
parent
659a87ef60
commit
8c44d25750
|
@ -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>
|
||||
|
|
|
@ -2582,3 +2582,10 @@ zh:
|
|||
label_enterprises: 组织
|
||||
|
||||
label_add_tag: 添加标签
|
||||
label_tags_opensource: 开源项目
|
||||
label_attachment_category: 所属分类
|
||||
label_attachment_download_num: 下载
|
||||
label_attachment_size: 大小
|
||||
label_attachment_sharer: 共享者
|
||||
label_attachment_upload_time: 上传时间
|
||||
|
||||
|
|
Loading…
Reference in New Issue