|
|
|
@ -63,7 +63,11 @@
|
|
|
|
|
<li class="homepagePostSettingIcon">
|
|
|
|
|
<% if (delete_allowed || User.current.id == file.author_id) && file.container_id == org_subfield.id && file.container_type == "OrgSubfield" %>
|
|
|
|
|
<ul class="homepagePostSettiongText">
|
|
|
|
|
<li><%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li>
|
|
|
|
|
<% if hidden_unproject_infos %>
|
|
|
|
|
<li><%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li>
|
|
|
|
|
<% else %>
|
|
|
|
|
<li><%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send_hidden('#{file.id}','#{User.current.id}','file')") %></li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<li><%= link_to '更新版本',attachments_versions_path(file),:class => "postOptionLink",:remote=>true %></li>
|
|
|
|
|
<% if file.container.try(:organization).try(:is_public?) %>
|
|
|
|
|
<li>
|
|
|
|
|