From c9c72cb1983f86b95b1f29a38e338d59212aee60 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 3 Feb 2013 08:14:40 +0000 Subject: [PATCH] Don't display the warning to administrators (#5605). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11312 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb index c259c9039..010729d12 100644 --- a/app/views/projects/_form.html.erb +++ b/app/views/projects/_form.html.erb @@ -74,7 +74,7 @@ <% end %> <% end %> -<% if @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %> +<% if !User.current.admin? && @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %> <%= javascript_tag do %> $(document).ready(function() { $("#project_inherit_members").change(function(){