1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

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
This commit is contained in:
Go MAEDA 2019-10-27 00:06:06 +00:00
parent a59fd58884
commit 707f2f1f78

View File

@ -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