From 29c1124e66b264e9365744f2868306cd8c6265ea Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 20 Jun 2019 07:56:54 +0000 Subject: 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 --- app/views/projects/show.html.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/projects') diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index c46ec9cab..a3ac9b14f 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -10,6 +10,10 @@ <%= link_to l(:button_reopen), reopen_project_path(@project), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-unlock' %> <% end %> <% end %> + <%= link_to_if_authorized l(:label_settings), + {:controller => 'projects', :action => 'settings', :id => @project}, + :class => 'icon icon-settings' if User.current.allowed_to?(:edit_project, @project) %> +

<%=l(:label_overview)%>

-- cgit v1.2.3