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:
parent
140eb1f13b
commit
c9c72cb198
|
@ -74,7 +74,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% 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 %>
|
<%= javascript_tag do %>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#project_inherit_members").change(function(){
|
$("#project_inherit_members").change(function(){
|
||||||
|
|
Loading…
Reference in New Issue