From: Go MAEDA Date: Sun, 27 Oct 2019 00:06:06 +0000 (+0000) Subject: Add a link to projects administration page on projects page (#32306). X-Git-Tag: 4.1.0~230 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=707f2f1f786c5578d8930469cf55f52288d650a8;p=redmine.git Add a link to projects administration page on projects page (#32306). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18873 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 335db8b0b..7e59d6ea0 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -53,6 +53,9 @@ module ProjectsHelper if User.current.allowed_to?(:add_project, nil, :global => true) links << link_to(l(:label_project_new), new_project_path, :class => 'icon icon-add') end + if User.current.admin? + links << link_to(l(:label_administration), admin_projects_path, :class => 'icon icon-settings') + end links end