summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-10-27 00:06:06 +0000
committerGo MAEDA <maeda@farend.jp>2019-10-27 00:06:06 +0000
commit707f2f1f786c5578d8930469cf55f52288d650a8 (patch)
tree9e7f7958bf2fc2f6cc6389dc35716155c01f3017 /app
parenta59fd58884f7b53d56a503f9928f3d017636ec60 (diff)
downloadredmine-707f2f1f786c5578d8930469cf55f52288d650a8.tar.gz
redmine-707f2f1f786c5578d8930469cf55f52288d650a8.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/helpers/projects_helper.rb3
1 files changed, 3 insertions, 0 deletions
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