summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-06-20 07:56:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-06-20 07:56:54 +0000
commit29c1124e66b264e9365744f2868306cd8c6265ea (patch)
treebd53fec7f641382370be87a04cef0e65291e9c0f /app/views/issues
parentbf4827bd1897867556cc614c300c7420b2b9ab6a (diff)
downloadredmine-29c1124e66b264e9365744f2868306cd8c6265ea.tar.gz
redmine-29c1124e66b264e9365744f2868306cd8c6265ea.zip
Make project settings more accessible (#22090).
Patch by Jan Schulz-Hofen and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18283 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/index.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index d5a77ca51..5efc22205 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -2,6 +2,9 @@
<% if User.current.allowed_to?(:add_issues, @project, :global => true) && (@project.nil? || Issue.allowed_target_trackers(@project).any?) %>
<%= link_to l(:label_issue_new), _new_project_issue_path(@project), :class => 'icon icon-add new-issue' %>
<% end %>
+ <%= link_to_if_authorized l(:label_settings),
+ {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'issues'},
+ :class => 'icon icon-settings' if User.current.allowed_to?(:manage_categories, @project) %>
</div>
<h2><%= @query.new_record? ? l(:label_issue_plural) : @query.name %></h2>