diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index cd659871..eb75536d 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -53,14 +53,11 @@
<% if @project.project_type == 1 %>
- <% if User.current.member_of?(@project) %>
-
- <%= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) %>
- <% end %>
+ <% label_str = l(:label_file_upload) %>
<% else %>
- <%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
-
+ <% label_str = l(:label_attachment_new) %>
<% end %>
+<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
<%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>文件共享专区
<% delete_allowed = User.current.allowed_to?(:manage_files, @project) %>