导入资源鼠标点击效果
This commit is contained in:
parent
c749fe381b
commit
0fcd8ae86d
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
<% if attach.is_public == 0 && !attach_show_allow(attach) && attach.get_apply_resource_status(attach.id, attach.author_id) != 2 %>
|
<% if attach.is_public == 0 && !attach_show_allow(attach) && attach.get_apply_resource_status(attach.id, attach.author_id) != 2 %>
|
||||||
<a href="" style="cursor: default" title="<%= attach.filename %>"><%= attach.filename %> </a>
|
<a style="cursor: default" title="<%= attach.filename %>"><%= attach.filename %> </a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to truncate(attach.filename, :length => 30), download_named_attachment_path(attach.id, attach.filename), :title => attach.filename%>
|
<%= link_to truncate(attach.filename, :length => 30), download_named_attachment_path(attach.id, attach.filename), :title => attach.filename%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue