diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index e83ddc879..001ae9596 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -1,4 +1,4 @@ -
+
<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 50dc818ef..59d43ef56 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,6 +1,6 @@

<%= l(:field_issue) %> -
+
<%= link_to l(:label_issue_new), { :controller => 'issues', :action => 'new', :copy_from => nil }, :param => :project_id, :caption => :label_issue_new, :html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) }, :class => 'icon icon-add' %>
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index e00ef83d4..a95adc131 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -1,5 +1,5 @@ -
+
<%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>