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
This commit is contained in:
Jean-Philippe Lang 2013-02-03 08:14:40 +00:00
parent 140eb1f13b
commit c9c72cb198
1 changed files with 1 additions and 1 deletions

View File

@ -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(){