diff --git a/app/views/files/_tool_settings.html.erb b/app/views/files/_tool_settings.html.erb
index 4ebbf852..577030f8 100644
--- a/app/views/files/_tool_settings.html.erb
+++ b/app/views/files/_tool_settings.html.erb
@@ -5,16 +5,16 @@
<% if User.current.admin? || ((delete_allowed || User.current.id == file.author_id) && file.container_id == project.id && file.container_type == "Project") %>
- <% if hidden_unproject_infos %>
- - <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %>
- <% else %>
- - <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send_hidden('#{file.id}','#{User.current.id}','file')") %>
- <% end %>
- <% if params[:tag_name].blank? %>
- - <%= link_to '更新版本',attachments_versions_path(file, :project_id => project.id), :class => "postOptionLink", :remote => true %>
- <% else %>
- - <%= link_to '更新版本',attachments_versions_path(file, :tag_name => params[:tag_name].force_encoding("UTF-8"), :project_id => project.id, :other => params[:other]),:class => "postOptionLink",:remote=>true %>
- <% end %>
+ <%# if hidden_unproject_infos %>
+
+ <%# else %>
+
+ <%# end %>
+ <%# if params[:tag_name].blank? %>
+
+ <%# else %>
+
+ <%# end %>
<% if project.is_public? %>
-
@@ -38,15 +38,15 @@
<% end %>
<% else %>
-
-
- <% if hidden_unproject_infos %>
- - <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %>
- <% else %>
- - <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send_hidden('#{file.id}','#{User.current.id}','file')") %>
- <% end %>
-
-
+
+
+ <%# if hidden_unproject_infos %>
+
+ <%# else %>
+
+ <%# end %>
+
+
<% end %>
<% end %>