summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/groups
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-02-17 22:32:22 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2010-02-17 22:32:22 +0100
commitd10c13e019acfb67df17e9360fda9e23c49059be (patch)
tree0abf1743c31e395a8e970ecad72a387c27583ed6 /template/en/default/admin/groups
parentcb5af02bba30efcdaa6a1d099d7d60c2881f3cc4 (diff)
downloadbugzilla-d10c13e019acfb67df17e9360fda9e23c49059be.tar.gz
bugzilla-d10c13e019acfb67df17e9360fda9e23c49059be.tar.xz
Bug 545029: When deleting a group, no warning is thrown about group inheritance
r=mkanat a=LpSolit
Diffstat (limited to 'template/en/default/admin/groups')
-rw-r--r--template/en/default/admin/groups/delete.html.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl
index c1a9403f9..9d32da4de 100644
--- a/template/en/default/admin/groups/delete.html.tmpl
+++ b/template/en/default/admin/groups/delete.html.tmpl
@@ -60,6 +60,15 @@
all users from this group for me.</label></p>
[% END %]
+ [% IF group.granted_by_direct(constants.GROUP_MEMBERSHIP).size %]
+ <p><b>Members of this group inherit membership in the following groups:</b></p>
+ <ul>
+ [% FOREACH grantor = group.granted_by_direct(constants.GROUP_MEMBERSHIP) %]
+ <li>[% grantor.name FILTER html %]</li>
+ [% END %]
+ </ul>
+ [% END %]
+
[% IF group.bugs.size %]
<p><b>[% group.bugs.size FILTER html %] [%+ terms.bug %] reports are
visible only to this group. You cannot delete this group while any