处理资源标签搜索中标签丢失的问题

memcached_alan
sw 11 years ago
parent 659a87ef60
commit 8c44d25750

@ -9,18 +9,35 @@
<tr> <tr>
<td class="r1" style="word-break: break-all;word-wrap: break-word;"> <td class="r1" style="word-break: break-all;word-wrap: break-word;">
<div class="cb"> <div class="cb">
<strong><%= l(:label_attachment) %>:&nbsp;&nbsp;<%= file.filename %></strong> <strong>
<%= l(:label_attachment) %>:
&nbsp;&nbsp;
<%= file.filename %>
</strong>
<span style="margin-left: 4px;"> <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> </span>
</div> </div>
<strong><%= l(:field_description) %></strong>:&nbsp;&nbsp;<%= file.description %> <strong>
<div class="c9 gray-color"> <%= l('attachment.category')%><%=result_come_from file%> </div> <%= l(:field_description) %>
</strong>:
&nbsp;&nbsp;
<%= file.description %>
<div class="c9 gray-color">
<%= l('label_attachment_category')%>
<%=result_come_from file%>
</div>
<span class="gray blue-color"> <span class="gray blue-color">
<%= l('attachment.download_num')%><%= file.downloads%>| <%= l('label_attachment_download_num')%>
<%= l('attachment.size')%><%= number_to_human_size(file.filesize) %>| <%= file.downloads%>|
<%= l('attachment.sharer')%><a class="gray" ><%= link_to file.author, user_path(file.author), target: "_blank" unless file.author.blank? %></a>| <%= l('label_attachment_size')%>
<%= l('attachment.upload_time')%><%= format_time(file.created_on) %> <%= 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> </span>
<div style="display: none"></div> <div style="display: none"></div>
</td> </td>

@ -2582,3 +2582,10 @@ zh:
label_enterprises: 组织 label_enterprises: 组织
label_add_tag: 添加标签 label_add_tag: 添加标签
label_tags_opensource: 开源项目
label_attachment_category: 所属分类
label_attachment_download_num: 下载
label_attachment_size: 大小
label_attachment_sharer: 共享者
label_attachment_upload_time: 上传时间

Loading…
Cancel
Save