Browse Source

Fixed: "Add file" link broken by recent refactoring (#6627).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4268 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.1.0
Jean-Philippe Lang 13 years ago
parent
commit
f17c990a77
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/views/files/index.html.erb

+ 1
- 1
app/views/files/index.html.erb View File

@@ -1,5 +1,5 @@
<div class="contextual">
<%= link_to_if_authorized l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add' %>
<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
</div>

<h2><%=l(:label_attachment_plural)%></h2>

Loading…
Cancel
Save