diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 3485f0c08..bf42c5dbd 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -1,6 +1,8 @@ <% 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.allowed_to?(:manage_files, @project) %> + <% end %>
<% else %>
@@ -50,3 +52,4 @@ <% html_title(l(:label_attachment_plural)) -%> +